[1.2.2] new domain name

This commit is contained in:
vermillion-dev
2019-10-09 19:55:51 +02:00
parent 7102cf6af1
commit 223181f15e
3 changed files with 7 additions and 7 deletions

View File

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