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

Commit

Permalink
docs: update transfer-files example, webrtc is now on by default
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed May 21, 2017
1 parent 23969f0 commit cbcfbe1
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions examples/transfer-files/public/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,8 @@ function start () {
if (!node) {
updateView('starting', node)

const repoPath = 'ipfs-' + Math.random()

node = new self.Ipfs({
repo: repoPath,
config: {
Addresses: {
Swarm: [
'/libp2p-webrtc-star/dns4/star-signal.cloud.ipfs.team/wss'
]
}
}
repo: 'ipfs-' + Math.random()
})

node.on('start', () => {
Expand Down

0 comments on commit cbcfbe1

Please sign in to comment.