From 727da38fb6b432e65ebf786541fdf684ee72e468 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 12 Sep 2013 13:55:38 -0400 Subject: [PATCH] fixing issue where upgrade path only applies db fixes to default redis host and port --- app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app.js b/app.js index 9b1be2a29a..5c7a39c8de 100644 --- a/app.js +++ b/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();