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;