This commit is contained in:
Feross Aboukhadijeh
2016-03-20 15:54:07 -07:00
parent 08f3bd53f0
commit da702907b4

View File

@@ -32,12 +32,8 @@ var state = global.state = require('./state')
// Force use of webtorrent trackers on all torrents
global.WEBTORRENT_ANNOUNCE = createTorrent.announceList
.map(function (arr) {
return arr[0]
})
.filter(function (url) {
return url.indexOf('wss://') === 0 || url.indexOf('ws://') === 0
})
.map((arr) => arr[0])
.filter((url) => url.indexOf('wss://') === 0 || url.indexOf('ws://') === 0)
var vdomLoop