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