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 = [
|
trackers = [
|
||||||
[ 'wss://tracker.btorrent.xyz' ]
|
'wss://tracker.btorrent.xyz'
|
||||||
[ 'wss://tracker.webtorrent.io' ]
|
'wss://tracker.webtorrent.io'
|
||||||
]
|
]
|
||||||
|
|
||||||
opts = {
|
opts = {
|
||||||
|
@ -124,6 +124,7 @@ app.controller 'BTorrentCtrl', ['$scope','$rootScope','$http','$log','$location'
|
||||||
file.select(file.priority)
|
file.select(file.priority)
|
||||||
|
|
||||||
$rootScope.onTorrent = (torrent, isSeed) ->
|
$rootScope.onTorrent = (torrent, isSeed) ->
|
||||||
|
dbg torrent.magnetURI
|
||||||
torrent.safeTorrentFileURL = torrent.torrentFileBlobURL
|
torrent.safeTorrentFileURL = torrent.torrentFileBlobURL
|
||||||
torrent.fileName = torrent.name + '.torrent'
|
torrent.fileName = torrent.name + '.torrent'
|
||||||
if !isSeed
|
if !isSeed
|
||||||
|
|
Loading…
Reference in a new issue