From 8096889a7d99a40fc1a19840eddd7f7121ef285f Mon Sep 17 00:00:00 2001 From: "Harish.K" Date: Fri, 6 May 2016 18:19:39 +0530 Subject: [PATCH] Fix --- config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.js b/config.js index 95c98ff..141223a 100644 --- a/config.js +++ b/config.js @@ -12,7 +12,11 @@ Object.keys( defaultConfig ).forEach( function(v){ config[v] = process.env[v] || defaultConfig[v]; }); + config.LOCAL_REGISTRY = 'localhost:' + config.PORT; +if( config.ENABLE_NPM_FAILOVER == 'false' ){ + config.ENABLE_NPM_FAILOVER = false; +} module.exports = config;