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

Commit 97f399f

Browse files
test: Remove setup api config not needed in 0.3.11 anymore
1 parent 538eb31 commit 97f399f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tasks/daemons.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,7 @@ function startDisposableDaemons (callback) {
5959

6060
const headers = {
6161
HTTPHeaders: {
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']
62+
'Access-Control-Allow-Origin': ['*']
6663
}
6764
}
6865
ipfsNodes[key].setConfig('API', JSON.stringify(headers), err => {

0 commit comments

Comments
 (0)