From 9dbe68a9cbddcde53834c70b46e4a78bbc4de46a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 16 Oct 2018 19:46:55 -0400 Subject: [PATCH] testing again --- src/database/mongo.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/database/mongo.js b/src/database/mongo.js index 9ab35feba2..bedd26f0f5 100644 --- a/src/database/mongo.js +++ b/src/database/mongo.js @@ -77,7 +77,9 @@ mongoModule.getConnectionString = function () { if (!nconf.get('mongo:port')) { nconf.set('mongo:port', 27017); } + console.log(nconf.get('mongo:database'), typeof nconf.get('mongo:database')); if (!nconf.get('mongo:database')) { + console.log('switching to nodebb database'); nconf.set('mongo:database', 'nodebb'); }