fix: download timeout

#67
This commit is contained in:
KOWX712
2025-06-09 20:48:10 +08:00
parent 05efb7e4a1
commit 700419a56c
3 changed files with 5 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ document.getElementById('canary').addEventListener('click', async () => {
if (isDownloading) return;
isDownloading = true;
try {
showPrompt("prompt_checking_update");
showPrompt("prompt_checking_update", true, 10000);
const url = "https://api.allorigins.win/raw?url=" + encodeURIComponent("https://nightly.link/KOWX712/Tricky-Addon-Update-Target-List/workflows/build/main?preview");
const response = await fetch(url);
const html = await response.text();