Fixed duplicated trackers
This commit is contained in:
parent
f8f137e504
commit
486b685b5e
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
trackers = [
|
||||
[ 'wss://tracker.btorrent.xyz' ]
|
||||
[ 'wss://tracker.webtorrent.io' ]
|
||||
'wss://tracker.btorrent.xyz'
|
||||
'wss://tracker.webtorrent.io'
|
||||
]
|
||||
|
||||
opts = {
|
||||
|
@ -124,6 +124,7 @@ app.controller 'BTorrentCtrl', ['$scope','$rootScope','$http','$log','$location'
|
|||
file.select(file.priority)
|
||||
|
||||
$rootScope.onTorrent = (torrent, isSeed) ->
|
||||
dbg torrent.magnetURI
|
||||
torrent.safeTorrentFileURL = torrent.torrentFileBlobURL
|
||||
torrent.fileName = torrent.name + '.torrent'
|
||||
if !isSeed
|
||||
|
|
Loading…
Reference in a new issue