Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve docs #694

Closed
wants to merge 10 commits into from

Add port variable

Add missing port variable.
  • Loading branch information
FluorescentHallucinogen committed Mar 25, 2016
commit 9c9bfc9119dd3071be1af3e879ab757292b0996b
@@ -299,6 +299,7 @@ Here is a usage example:
```js
var client = new WebTorrent()
var torrentId = 'magnet:?xt=urn:btih:6a9759bffd5c0af65319979fb7832189f4f3c35d&dn=sintel.mp4&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.fastcast.nz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com&tr=wss%3A%2F%2Ftracker.webtorrent.io&ws=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2Fsintel-1024-surround.mp4'
var port = 5003
client.add(torrentId, function (torrent) {
// create HTTP server for this torrent
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.