Fixed duplicated trackers

This commit is contained in:
Diego Rodríguez 2016-01-26 01:19:22 -05:00
parent f8f137e504
commit 486b685b5e

View file

@ -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