From 89d0d6bb03a1cfa6c598cf5103ce6cb989d7412b Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Wed, 14 Mar 2018 17:41:55 -0600 Subject: [PATCH] wip --- examples/circuit-relaying/main.css | 11 ----------- examples/circuit-relaying/package.json | 2 +- examples/circuit-relaying/src/app.js | 6 +++--- 3 files changed, 4 insertions(+), 15 deletions(-) diff --git a/examples/circuit-relaying/main.css b/examples/circuit-relaying/main.css index 21f4cc628a..c9f7fb17f3 100644 --- a/examples/circuit-relaying/main.css +++ b/examples/circuit-relaying/main.css @@ -199,17 +199,6 @@ main { margin-bottom: 1em; } -/* #peers i { - display: none; - margin-top: 5px; - margin-bottom: 5px; - font-size: 14px; -} - -#peers.waiting i { - display: block; -} */ - .errors { grid-area: errors; color: red; diff --git a/examples/circuit-relaying/package.json b/examples/circuit-relaying/package.json index 8586b2a6be..41c20b49a5 100644 --- a/examples/circuit-relaying/package.json +++ b/examples/circuit-relaying/package.json @@ -15,7 +15,7 @@ "license": "MIT", "dependencies": { "ipfs": "file:../../", - "ipfs-pubsub-room": "^0.3.0" + "ipfs-pubsub-room": "~0.3.0" }, "devDependencies": { "aegir": "^13.0.5", diff --git a/examples/circuit-relaying/src/app.js b/examples/circuit-relaying/src/app.js index 98c079dd3d..83a9bd5d72 100644 --- a/examples/circuit-relaying/src/app.js +++ b/examples/circuit-relaying/src/app.js @@ -29,11 +29,11 @@ const repo = () => { const ipfs = new IPFS({ repo: repo(), EXPERIMENTAL: { - pubsub: true, + pubsub: true, // enable pubsub relay: { - enabled: true, + enabled: true, // enable relay dialer/listener (STOP) hop: { - enabled: true + enabled: true // make this node a relay (HOP) } } },