Update YggTorrent URLs to new domain and API endpoints

This commit is contained in:
√(noham)²
2025-12-23 16:48:47 +01:00
parent 592c1c4836
commit 5266d42f71
3 changed files with 6 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ chrome.storage.sync.get(['yggToken'], function (value) {
var downloadIcon = document.createElement('img')
downloadIcon.setAttribute('src', chrome.runtime.getURL("img/download.png"));
downloadButton.appendChild(downloadIcon);
downloadButton.setAttribute('href', "https://" + window.location.host + "/rss/download?id=" + torrentId + "&passkey=" + value.yggToken);
downloadButton.setAttribute('href', "https://yggapi.eu/torrent/" + torrentId + "/download?passkey=" + value.yggToken);
cell.appendChild(downloadButton);
}
}