mirror of https://github.com/waku-org/js-waku.git
Use remote node
This commit is contained in:
parent
b6e3a25bfd
commit
4eaab4c2be
|
@ -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]
|
||||
|
|
|
@ -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`,
|
||||
],
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue