mirror of
https://github.com/ronggang/transmission-web-control.git
synced 2025-04-14 09:30:25 +00:00
删去 tracker 服务器多余的「announce」
This commit is contained in:
parent
4e0c781669
commit
271913cc71
|
@ -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