Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 7ffa08c

Browse files
committedDec 18, 2015
Add headers back, need to wait for 0.3.11
1 parent 15bb5e1 commit 7ffa08c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎tasks/daemons.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ function startDisposableDaemons (callback) {
5959

6060
const headers = {
6161
HTTPHeaders: {
62-
'Access-Control-Allow-Origin': ['*']
62+
'Access-Control-Allow-Origin': ['*'],
63+
// TODO: When ipfs/go-ipfs#1979 is merged drop these
64+
'Access-Control-Allow-Headers': ['X-Stream-Output, X-Chunked-Output'],
65+
'Access-Control-Expose-Headers': ['X-Stream-Output, X-Chunked-Output']
6366
}
6467
}
6568
ipfsNodes[key].setConfig('API', JSON.stringify(headers), err => {

0 commit comments

Comments
 (0)
This repository has been archived.