mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
@@ -97,7 +97,12 @@ function genHash(string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getTrackerHost(url) {
|
function getTrackerHost(url) {
|
||||||
return new URL(url).hostname;
|
try {
|
||||||
|
return new URL(url).hostname;
|
||||||
|
}
|
||||||
|
catch (error) {
|
||||||
|
return url;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function getSyncMainDataInterval() {
|
function getSyncMainDataInterval() {
|
||||||
|
|||||||
Reference in New Issue
Block a user