Removed comment

master
Mark Moffat 2019-06-09 22:00:26 +09:30
parent f37e521768
commit 10d04c2485
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -323,7 +323,6 @@ app.on('uncaughtException', (err) => {
process.exit(2);
});
// MongoClient.connect(config.databaseConnectionString, {}, (err, client) => {
initDb(config.databaseConnectionString, (err, db) => {
// On connection error we display then exit
if(err){
@ -357,6 +356,7 @@ initDb(config.databaseConnectionString, (err, db) => {
// lift the app
app.emit('appStarted');
console.log(colors.green('expressCart running on host: http://localhost:' + app.get('port')));
return;
})
.catch((err) => {
console.error(colors.red('Error setting up indexes:' + err));