Skip to content

Commit

Permalink
Fix js-ipfs daemon config params
Browse files Browse the repository at this point in the history
  - Respect `--enable-experimental-pubsub`
  - Don't overload repo config with cli args (fixes ipfs#868)
  - Typo
  • Loading branch information
sktt committed Jul 18, 2017
1 parent 1e95c0f commit 5fb5c96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cli/commands/daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
default: false
},
'enable-pubsub-experiment': {
type: 'booleam',
type: 'boolean',
default: false
}
},
Expand Down
3 changes: 1 addition & 2 deletions src/http-api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ function HttpApi (repo, config) {
repo: repo,
init: init,
start: true,
config: config,
EXPERIMENTAL: {
pubsub: true,
pubsub: config && config.enablePubsubExperiment,
sharding: config && config.enableShardingExperiment
},
libp2p: libp2p
Expand Down

0 comments on commit 5fb5c96

Please sign in to comment.