Allow LOCAL_REGISTRY to be set from env

This commit is contained in:
Wes Mason
2016-05-10 21:34:24 +01:00
parent b056ed85c4
commit 1df6d6d94a
+3
View File
@@ -13,7 +13,10 @@ Object.keys( defaultConfig ).forEach( function(v){
});
if( !config.LOCAL_REGISTRY ){
config.LOCAL_REGISTRY = 'localhost:' + config.PORT;
}
if( config.ENABLE_NPM_FAILOVER == 'false' ){
config.ENABLE_NPM_FAILOVER = false;
}