mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
@@ -56,9 +56,11 @@ window.qBittorrent.PropPeers ??= (() => {
|
||||
clearTimeout(loadTorrentPeersTimer);
|
||||
return;
|
||||
}
|
||||
const url = new URI("api/v2/sync/torrentPeers")
|
||||
.setData("rid", syncTorrentPeersLastResponseId)
|
||||
.setData("hash", current_hash);
|
||||
const url = new URL("api/v2/sync/torrentPeers", window.location);
|
||||
url.search = new URLSearchParams({
|
||||
hash: current_hash,
|
||||
rid: syncTorrentPeersLastResponseId,
|
||||
});
|
||||
fetch(url, {
|
||||
method: "GET",
|
||||
cache: "no-store"
|
||||
|
||||
Reference in New Issue
Block a user