mirror of
https://github.com/logos-messaging/docs.waku.org.git
synced 2026-01-06 23:03:10 +00:00
chore: update docs to show new property (#209)
This commit is contained in:
parent
fdaa1fa8f2
commit
e22d15d52f
@ -64,14 +64,11 @@ const peers = [
|
|||||||
|
|
||||||
const node = await createLightNode();
|
const node = await createLightNode();
|
||||||
|
|
||||||
// In case nodes are using `ws` protocol - additional configuration is needed:
|
// In case nodes are using IP address and / or `ws` protocol - additional configuration is needed:
|
||||||
/*
|
/*
|
||||||
import { webSockets } from "@libp2p/websockets";
|
|
||||||
import { all as filterAll } from "@libp2p/websockets/filters";
|
|
||||||
|
|
||||||
const node = await createLightNode({
|
const node = await createLightNode({
|
||||||
libp2p: {
|
libp2p: {
|
||||||
transports: [webSockets({ filter: filterAll })],
|
filterMultiaddrs: false,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user