mirror of
https://github.com/ipfs/ipfs-blog.git
synced 2026-08-11 19:33:03 +02:00
Update from Forestry.io
Jessica Schilling updated src/_blog/a-guide-to-ipfs-connectivity-in-web-browsers.md
This commit is contained in:
committed by
Forestry.io
parent
ffe94ea173
commit
be5aa0621d
@@ -166,7 +166,7 @@ await ipfs.bootstrap.add('/dns4/ipfs.thedisco.zone/tcp/4430/wss/p2p/12D3KooWChhh
|
||||
await ipfs.swarm.connect('/dns4/ipfs.thedisco.zone/tcp/4430/wss/p2p/12D3KooWChhhfGdB9GJy1GbhghAAKCUR99oCymMEVS4eUcEy67nt');
|
||||
```
|
||||
|
||||
If you're looking to do your own client without copying the example, ensure you're also communicating with the announce channel, which is described under "Advertising". The relevant code in the chat demo is this (simplified):
|
||||
If you're looking to do your own client without copying the example, ensure you're also communicating with the announce channel, which is described under [Advertising](#advertising). The relevant code in the chat demo is this (simplified):
|
||||
|
||||
```javascript
|
||||
var ipfs; // store the IPFS node you're using in this variable
|
||||
|
||||
Reference in New Issue
Block a user