Skip to content

Commit

Permalink
fix: do not add CORS Credentials header (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel authored and hacdias committed Nov 18, 2018
1 parent 07aaf86 commit f3c61d9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/utils/daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit f3c61d9

Please sign in to comment.