diff options
author | DC <dcposch@dcpos.ch> | 2016-09-15 08:18:05 +0300 |
---|---|---|
committer | DC <dcposch@dcpos.ch> | 2016-09-17 13:13:17 +0300 |
commit | 5bdc78c49c898bf0e35cdf8c3845a4e9017c9c23 (patch) | |
tree | 06eb3ca69f58f83296e95b66a63d4288de40ce21 /index.js | |
parent | 15ed59a0d2c9d32598ab4c98706e6fd8fa200843 (diff) |
Option to disable BEP19 web seeds
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -139,6 +139,9 @@ function WebTorrent (opts) { self.dht = false } + // Enable or disable BEP19 (Web Seeds). Enabled by default: + self.enableWebSeeds = opts.webSeeds !== false + if (typeof loadIPSet === 'function' && opts.blocklist != null) { loadIPSet(opts.blocklist, { headers: { |