From 6a498e92c00a784867053cddf9dcf4c1f510cf55 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Tue, 21 Jul 2020 14:54:50 +0100 Subject: [PATCH] fix(docs): update webrtc config example to use correct case --- packages/ipfs/docs/FAQ.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ipfs/docs/FAQ.md b/packages/ipfs/docs/FAQ.md index 0b42b5d4ff..a1caf869e6 100644 --- a/packages/ipfs/docs/FAQ.md +++ b/packages/ipfs/docs/FAQ.md @@ -90,12 +90,12 @@ const node = await IPFS.create({ }, config: { peerDiscovery: { - [WebRTCStar.tag]: { + webRTCStar: { // <- note the lower-case w - see https://github.com/libp2p/js-libp2p/issues/576 enabled: true } }, transport: { - WebRTCStar: { + WebRTCStar: { // <- note the upper-case w- see https://github.com/libp2p/js-libp2p/issues/576 wrtc } }