style
This commit is contained in:
@@ -32,12 +32,8 @@ var state = global.state = require('./state')
|
|||||||
|
|
||||||
// Force use of webtorrent trackers on all torrents
|
// Force use of webtorrent trackers on all torrents
|
||||||
global.WEBTORRENT_ANNOUNCE = createTorrent.announceList
|
global.WEBTORRENT_ANNOUNCE = createTorrent.announceList
|
||||||
.map(function (arr) {
|
.map((arr) => arr[0])
|
||||||
return arr[0]
|
.filter((url) => url.indexOf('wss://') === 0 || url.indexOf('ws://') === 0)
|
||||||
})
|
|
||||||
.filter(function (url) {
|
|
||||||
return url.indexOf('wss://') === 0 || url.indexOf('ws://') === 0
|
|
||||||
})
|
|
||||||
|
|
||||||
var vdomLoop
|
var vdomLoop
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user