mirror of https://github.com/embarklabs/embark.git
whitespace
This commit is contained in:
parent
019f0b68c8
commit
40c14a08de
|
@ -123,11 +123,11 @@ Config.prototype._updateBlockchainCors = function(){
|
|||
}
|
||||
|
||||
let cors = corsParts.join(',');
|
||||
if(blockchainConfig.rpcCorsDomain === 'auto'){
|
||||
if(blockchainConfig.rpcCorsDomain === 'auto'){
|
||||
if(cors.length) blockchainConfig.rpcCorsDomain = cors;
|
||||
else blockchainConfig.rpcCorsDomain = '';
|
||||
}
|
||||
if(blockchainConfig.wsOrigins === 'auto'){
|
||||
if(blockchainConfig.wsOrigins === 'auto'){
|
||||
if(cors.length) blockchainConfig.wsOrigins = cors;
|
||||
else blockchainConfig.wsOrigins = '';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue