mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 23:30:36 +01:00
fixing issue where upgrade path only applies db fixes to default redis host and port
This commit is contained in:
3
app.js
3
app.js
@@ -93,9 +93,8 @@ if (fs.existsSync(__dirname + '/config.json') && (!nconf.get('setup') && !nconf.
|
||||
});
|
||||
|
||||
} else if (nconf.get('upgrade')) {
|
||||
var meta = require('./src/meta.js');
|
||||
|
||||
nconf.file({ file: __dirname + '/config.json'});
|
||||
var meta = require('./src/meta.js');
|
||||
|
||||
meta.configs.init(function() {
|
||||
require('./src/upgrade').upgrade();
|
||||
|
||||
Reference in New Issue
Block a user