From 4eaab4c2bed668a4f7c3fb283e4f9839f088dfce Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Tue, 1 Mar 2022 16:06:55 +1100 Subject: [PATCH] Use remote node --- examples/waku-node/index.mjs | 2 +- examples/web-chat/src/App.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/waku-node/index.mjs b/examples/waku-node/index.mjs index 7f330a9a2a..2d299a60d4 100644 --- a/examples/waku-node/index.mjs +++ b/examples/waku-node/index.mjs @@ -16,7 +16,7 @@ import WebRTCDirect from 'libp2p-webrtc-direct'; libp2p: { peerId: hardcodedPeerId, addresses: { - listen: ['/ip4/127.0.0.1/tcp/9090/http/p2p-webrtc-direct'] + listen: ['/ip4/0.0.0.0/tcp/9090/http/p2p-webrtc-direct'] }, modules: { transport: [WebRTCDirect] diff --git a/examples/web-chat/src/App.tsx b/examples/web-chat/src/App.tsx index 1cf3cf0d86..5313b2368d 100644 --- a/examples/web-chat/src/App.tsx +++ b/examples/web-chat/src/App.tsx @@ -180,7 +180,7 @@ async function initWaku(setter: (waku: Waku) => void) { }, bootstrap: { peers: [ - `/ip4/127.0.0.1/tcp/9090/http/p2p-webrtc-direct/p2p/12D3KooWCuo3MdXfMgaqpLC5Houi1TRoFqgK9aoxok4NK5udMu8m`, + `/dns4/waku.fryorcraken.xyz/tcp/9090/http/p2p-webrtc-direct/p2p/12D3KooWCuo3MdXfMgaqpLC5Houi1TRoFqgK9aoxok4NK5udMu8m`, ], }, });