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

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ipfs-inactive/js-ipfs-http-client
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 538eb319160c^
Choose a base ref
...
head repository: ipfs-inactive/js-ipfs-http-client
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 97f399f3a8ae
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Jan 22, 2016

  1. Copy the full SHA
    538eb31 View commit details
  2. Copy the full SHA
    97f399f View commit details
Showing with 4 additions and 6 deletions.
  1. +1 −0 .eslintignore
  2. +2 −2 package.json
  3. +1 −4 tasks/daemons.js
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test/test-folder/ipfs-add.js
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -24,11 +24,11 @@
},
"devDependencies": {
"babel-core": "^6.1.21",
"babel-eslint": "^4.1.6",
"babel-eslint": "^5.0.0-beta6",
"babel-loader": "^6.2.0",
"babel-plugin-transform-runtime": "^6.1.18",
"babel-preset-es2015": "^6.0.15",
"babel-runtime": "^5.8.34",
"babel-runtime": "^6.3.19",
"chai": "^3.4.1",
"concurrently": "^1.0.0",
"eslint-config-standard": "^4.4.0",
5 changes: 1 addition & 4 deletions tasks/daemons.js
Original file line number Diff line number Diff line change
@@ -59,10 +59,7 @@ function startDisposableDaemons (callback) {

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