mirror of
https://github.com/ronggang/transmission-web-control.git
synced 2025-04-14 11:16:10 +00:00
Merge pull request #528 from Csineneo/patch-5
删去 tracker 服务器多余的「announce」
This commit is contained in:
commit
7b835aeb42
|
@ -249,7 +249,7 @@ transmission.torrents = {
|
|||
var lastResult = trackerInfo.lastAnnounceResult.toLowerCase();
|
||||
var hostName = trackerInfo.host.getHostName();
|
||||
var trackerUrl = hostName.split(".");
|
||||
if ($.inArray(trackerUrl[0], "www,tracker".split(",")) != -1) {
|
||||
if ($.inArray(trackerUrl[0], "www,tracker,announce".split(",")) != -1) {
|
||||
trackerUrl.shift();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user