mirror of
https://github.com/harish2704/npm-offline-registry.git
synced 2026-09-10 06:21:09 +00:00
Fix
This commit is contained in:
@@ -12,7 +12,11 @@ Object.keys( defaultConfig ).forEach( function(v){
|
|||||||
config[v] = process.env[v] || defaultConfig[v];
|
config[v] = process.env[v] || defaultConfig[v];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
config.LOCAL_REGISTRY = 'localhost:' + config.PORT;
|
config.LOCAL_REGISTRY = 'localhost:' + config.PORT;
|
||||||
|
if( config.ENABLE_NPM_FAILOVER == 'false' ){
|
||||||
|
config.ENABLE_NPM_FAILOVER = false;
|
||||||
|
}
|
||||||
|
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user