Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDC <dcposch@dcpos.ch>2016-09-20 14:27:03 +0300
committerDC <dcposch@dcpos.ch>2016-09-20 14:27:03 +0300
commit001506e2234df4ac8fb5d7e14428618d3e64fc75 (patch)
treeacbe6ba1494a98968631cb5af74f37e1678ed8ca /index.js
parentdc108ed0653c112f57dd2beb590de99aaae1878a (diff)
Seed: allow announce field with trackers disabled
Diffstat (limited to 'index.js')
-rw-r--r--index.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/index.js b/index.js
index 0c59ff9..8345429 100644
--- a/index.js
+++ b/index.js
@@ -303,7 +303,6 @@ WebTorrent.prototype.seed = function (input, opts, onseed) {
// When seeding from fs path, initialize store from that path to avoid a copy
if (typeof input === 'string') opts.path = path.dirname(input)
if (!opts.createdBy) opts.createdBy = 'WebTorrent/' + VERSION_STR
- if (!self.tracker) opts.announce = []
var torrent = self.add(null, opts, onTorrent)
var streams