add CORS URL for local ipfs' own server (default: localhost:8080)

This commit is contained in:
Michael Bradley, Jr 2018-09-24 20:51:31 -05:00
parent 999d65bda0
commit cad7843c78
1 changed files with 0 additions and 1 deletions

View File

@ -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