testing again

v1.18.x
Barış Soner Uşaklı 7 years ago
parent aa567a5f2d
commit 9dbe68a9cb

@ -77,7 +77,9 @@ mongoModule.getConnectionString = function () {
if (!nconf.get('mongo:port')) { if (!nconf.get('mongo:port')) {
nconf.set('mongo:port', 27017); nconf.set('mongo:port', 27017);
} }
console.log(nconf.get('mongo:database'), typeof nconf.get('mongo:database'));
if (!nconf.get('mongo:database')) { if (!nconf.get('mongo:database')) {
console.log('switching to nodebb database');
nconf.set('mongo:database', 'nodebb'); nconf.set('mongo:database', 'nodebb');
} }

Loading…
Cancel
Save