Node.js based forum software built for the modern web
testing again
Barış Soner Uşaklı9dbe68a9cbdd
diff --git a/src/database/mongo.js b/src/database/mongo.jsindex 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');}