Change domain from gg to ch

This commit is contained in:
vermillion-dev
2019-05-06 20:32:22 +02:00
parent e827d5b430
commit f408526172
2 changed files with 4 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ else if(torrentTitle.includes('480'))
var discordWebhookUrl, discordUserName, categories;
chrome.storage.sync.get(['yggToken', 'discordWebhookUrl', 'discordUserName', 'displayDiscord', 'displayAddCategories', 'categories', 'defaultCategories'], function(value){
if(value.yggToken){
downloadButton.setAttribute('href', "https://www2.yggtorrent.gg/rss/download?id=" + torrentId + "&passkey=" + value.yggToken);
downloadButton.setAttribute('href', "https://www2.yggtorrent.ch/rss/download?id=" + torrentId + "&passkey=" + value.yggToken);
}
else{
var alertYggToken = '<div id="error_ygg_button_alert" class="alert alert-danger" role="alert" style="margin-bottom:0;">Une erreur est survenue, Vérifiez que votre token Ygg soit chargé !</div>';