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

Commit 7e33d82

Browse files
authored
docs: fix webrtc-star link (#3571)
- fixes a broken link in docs - replaces deprecated webrtc-star used for demo purposes with two redundant ones
1 parent e25091c commit 7e33d82

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/BROWSERS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ We provide a few additional components useful for running JS IPFS in the browser
3838

3939

4040
- [libp2p-webrtc-star](https://github.com/libp2p/js-libp2p-webrtc-star) - incorporates both a transport and a discovery service that is facilitated by the custom rendezvous server available in the repo
41-
- Instructions on enabling `webrtc-star` in js-ipfs config can be found [here](https://github.com/ipfs/js-ipfs#how-to-enable-webrtc-support-for-js-ipfs-in-the-browser).
41+
- Instructions on enabling `webrtc-star` in js-ipfs config can be found [here](https://github.com/ipfs/js-ipfs/blob/master/docs/FAQ.md#how-to-enable-webrtc-support-for-js-ipfs-in-the-browser).
4242
- Make sure to [run your own rendezvous server](https://github.com/libp2p/js-libp2p-webrtc-star#rendezvous-server-aka-signalling-server).
4343
- [libp2p-webrtc-direct](https://github.com/libp2p/js-libp2p-webrtc-direct) - a WebRTC transport that doesn't require the set up a signalling server.
4444
- Caveat: you can only establish Browser to Node.js and Node.js to Node.js connections.

docs/FAQ.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ const node = await IPFS.create({
5151
config: {
5252
Addresses: {
5353
Swarm: [
54-
'/dns4/wrtc-star.discovery.libp2p.io/tcp/443/wss/p2p-webrtc-star'
54+
'/dns4/wrtc-star1.par.dwebops.pub/tcp/443/wss/p2p-webrtc-star',
55+
'/dns4/wrtc-star2.sjc.dwebops.pub/tcp/443/wss/p2p-webrtc-star'
5556
]
5657
}
5758
}
@@ -82,7 +83,8 @@ const node = await IPFS.create({
8283
Swarm: [
8384
"/ip4/0.0.0.0/tcp/4002",
8485
"/ip4/127.0.0.1/tcp/4003/ws",
85-
"/dns4/wrtc-star.discovery.libp2p.io/tcp/443/wss/p2p-webrtc-star"
86+
"/dns4/wrtc-star1.par.dwebops.pub/tcp/443/wss/p2p-webrtc-star",
87+
"/dns4/wrtc-star2.sjc.dwebops.pub/tcp/443/wss/p2p-webrtc-star"
8688
]
8789
}
8890
},

0 commit comments

Comments
 (0)