Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix: fixing circuit-relaying example
Browse files Browse the repository at this point in the history
  • Loading branch information
dryajov committed Jul 16, 2018
1 parent e6ad63e commit 3b343ec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions examples/circuit-relaying/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@
"license": "MIT",
"dependencies": {
"ipfs": "file:../../",
"ipfs-pubsub-room": "~0.3.0"
"ipfs-pubsub-room": "^1.4.0"
},
"devDependencies": {
"aegir": "^14.0.0",
"http-server": "~0.10.0",
"ipfs-css": "~0.2.0",
"parcel-bundler": "^1.6.2",
"tachyons": "^4.9.1"
Expand Down
14 changes: 7 additions & 7 deletions examples/circuit-relaying/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ const repo = () => {

const ipfs = new IPFS({
repo: repo(),
EXPERIMENTAL: {
pubsub: true, // enable pubsub
relay: {
enabled: true, // enable relay dialer/listener (STOP)
hop: {
enabled: true // make this node a relay (HOP)
}
relay: {
enabled: true, // enable relay dialer/listener (STOP)
hop: {
enabled: true // make this node a relay (HOP)
}
},
EXPERIMENTAL: {
pubsub: true // enable pubsub
},
config: {
Bootstrap: []
}
Expand Down

0 comments on commit 3b343ec

Please sign in to comment.