Skip to content

Commit

Permalink
chore: update docs to show new property (waku-org#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
weboko authored and fryorcraken committed Oct 1, 2024
1 parent fdaa1fa commit e22d15d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/guides/js-waku/configure-discovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,11 @@ const peers = [

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({
libp2p: {
transports: [webSockets({ filter: filterAll })],
filterMultiaddrs: false,
},
});
*/
Expand Down

0 comments on commit e22d15d

Please sign in to comment.