diff --git a/app.js b/app.js index fb4731d..8630c69 100644 --- a/app.js +++ b/app.js @@ -382,7 +382,7 @@ app.on('uncaughtException', (err) => { process.exit(2); }); -initDb(process.env.DB_URI || config.databaseConnectionString, async (err, db) => { +initDb(config.databaseConnectionString, async (err, db) => { // On connection error we display then exit if(err){ console.log(colors.red('Error connecting to MongoDB: ' + err));