From cad7843c78c4314599d10af094a5bd2c34f72836 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Mon, 24 Sep 2018 20:51:31 -0500 Subject: [PATCH] add CORS URL for local ipfs' own server (default: localhost:8080) --- lib/modules/storage/storageProcessesLauncher.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/modules/storage/storageProcessesLauncher.js b/lib/modules/storage/storageProcessesLauncher.js index 0aa17df13..105c37707 100644 --- a/lib/modules/storage/storageProcessesLauncher.js +++ b/lib/modules/storage/storageProcessesLauncher.js @@ -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