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 (#1443)
Browse files Browse the repository at this point in the history
Fixes #1423
  • Loading branch information
dryajov authored and alanshaw committed Jul 17, 2018
1 parent 8085f10 commit a681fc5
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
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
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 a681fc5

Please sign in to comment.