Phil Hack
Results
1
comments of
Phil Hack
Assuming your mongodb connection string is something like this: ``` mongodb://foo-bar-baz:xxxxxxxyxxxxyxyxyxyxy@some-production-cluster-0-shard-XX-XXXXXX.foo.bar.net:27018/foo-bar-staging?ssl=true&replicaSet=foo-bar-cluster-0-shard-0&authSource=admin&retryWrites=true ``` You can add a few lines to the app.js file to extract the mongodb database name from the...