mirror of https://github.com/embarklabs/embark.git
add CORS URL for local ipfs' own server (default: localhost:8080)
This commit is contained in:
parent
999d65bda0
commit
cad7843c78
|
@ -42,7 +42,6 @@ class StorageProcessesLauncher {
|
|||
// add all dapp connection storage
|
||||
if(this.storageConfig.enabled) {
|
||||
this.storageConfig.dappConnection.forEach(dappConn => {
|
||||
if(dappConn.provider === storageName) return; // do not add CORS URL for ourselves
|
||||
if(dappConn.getUrl || dappConn.host){
|
||||
|
||||
// if getUrl is specified in the config, that needs to be included in cors
|
||||
|
|
Loading…
Reference in New Issue