Browse Source
Allow LOCAL_REGISTRY to be set from env
pull/3/head
Wes Mason
9 years ago
No known key found for this signature in database
GPG Key ID: 121DB7952C93970C
1 changed files with
4 additions and
1 deletions
-
config.js
|
|
@ -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; |
|
|
|
} |
|
|
|