diff --git a/config.js b/config.js index 141223a..0e3405c 100644 --- a/config.js +++ b/config.js @@ -13,7 +13,10 @@ Object.keys( defaultConfig ).forEach( function(v){ }); -config.LOCAL_REGISTRY = 'localhost:' + config.PORT; +if( !config.LOCAL_REGISTRY ){ + config.LOCAL_REGISTRY = 'localhost:' + config.PORT; +} + if( config.ENABLE_NPM_FAILOVER == 'false' ){ config.ENABLE_NPM_FAILOVER = false; }