Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 6a498e9

Browse files
committed
fix(docs): update webrtc config example to use correct case
1 parent 8f5a19f commit 6a498e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/ipfs/docs/FAQ.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ const node = await IPFS.create({
9090
},
9191
config: {
9292
peerDiscovery: {
93-
[WebRTCStar.tag]: {
93+
webRTCStar: { // <- note the lower-case w - see https://github.com/libp2p/js-libp2p/issues/576
9494
enabled: true
9595
}
9696
},
9797
transport: {
98-
WebRTCStar: {
98+
WebRTCStar: { // <- note the upper-case w- see https://github.com/libp2p/js-libp2p/issues/576
9999
wrtc
100100
}
101101
}

0 commit comments

Comments
 (0)