Node.js based forum software built for the modern web
Default mongodb db name should be "nodebb" instead of 0 (unlike redis). (#4573)
wktang414a26fe4298
diff --git a/src/database/mongo.js b/src/database/mongo.jsindex 83a9258857..7dd854e4cf 100644--- a/src/database/mongo.js+++ b/src/database/mongo.js@@ -38,7 +38,7 @@{name: "mongo:database",description: "MongoDB database name",- 'default': nconf.get('mongo:database') || 0+ 'default': nconf.get('mongo:database') || 'nodebb'}];@@ -74,7 +74,7 @@nconf.set('mongo:port', 27017);}if (!nconf.get('mongo:database')) {- nconf.set('mongo:database', '0');+ nconf.set('mongo:database', 'nodebb');}var hosts = nconf.get('mongo:host').split(',');