From f3c61d994348a13493467cfb6f18c74679cd754b Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Sun, 18 Nov 2018 08:34:40 +0100 Subject: [PATCH] fix: do not add CORS Credentials header (#694) --- src/utils/daemon.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/daemon.js b/src/utils/daemon.js index ce830bec0..19675afd0 100644 --- a/src/utils/daemon.js +++ b/src/utils/daemon.js @@ -62,7 +62,6 @@ export default async function createDaemon (opts) { await ipfsd.api.config.set('API.HTTPHeaders.Access-Control-Allow-Origin', origins) await ipfsd.api.config.set('API.HTTPHeaders.Access-Control-Allow-Method', ['PUT', 'GET', 'POST']) - await ipfsd.api.config.set('API.HTTPHeaders.Access-Control-Allow-Credentials', ['true']) return ipfsd }