mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
testing again
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user