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

Commit cbcfbe1

Browse files
committed
docs: update transfer-files example, webrtc is now on by default
1 parent 23969f0 commit cbcfbe1

File tree

1 file changed

+1
-10
lines changed
  • examples/transfer-files/public/js

1 file changed

+1
-10
lines changed

examples/transfer-files/public/js/app.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,8 @@ function start () {
3232
if (!node) {
3333
updateView('starting', node)
3434

35-
const repoPath = 'ipfs-' + Math.random()
36-
3735
node = new self.Ipfs({
38-
repo: repoPath,
39-
config: {
40-
Addresses: {
41-
Swarm: [
42-
'/libp2p-webrtc-star/dns4/star-signal.cloud.ipfs.team/wss'
43-
]
44-
}
45-
}
36+
repo: 'ipfs-' + Math.random()
4637
})
4738

4839
node.on('start', () => {

0 commit comments

Comments
 (0)