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

Commit

Permalink
test(browser): fix daemon config
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Dec 21, 2016
1 parent 086c331 commit 6ee082c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/factory/daemon-spawner.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,9 @@ function spawnEphemeralNode (callback) {
// Do not use discovery to avoid connecting to
// other nodes by mistake
Discovery: {},
API: {
'HTTPHeaders.Access-Control-Allow-Origin': ['*'],
'HTTPHeaders.Access-Control-Allow-Credentials': ['true'],
'HTTPHeaders.Access-Control-Allow-Methods': ['PUT', 'POST', 'GET']
}
'API.HTTPHeaders.Access-Control-Allow-Origin': ['*'],
'API.HTTPHeaders.Access-Control-Allow-Credentials': ['true'],
'API.HTTPHeaders.Access-Control-Allow-Methods': ['PUT', 'POST', 'GET']
}

eachSeries(Object.keys(configValues), (configKey, cb) => {
Expand Down

0 comments on commit 6ee082c

Please sign in to comment.