From b71c31605d4d2afd0cff5e121aa40bd32ddf984a Mon Sep 17 00:00:00 2001 From: orohi Date: Sun, 26 Jul 2026 07:47:44 +0300 Subject: [PATCH] Point update checker to git.evilfox.cc instead of GitHub. Co-authored-by: Cursor --- templates/settings.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/settings.html b/templates/settings.html index f2fafef..b665397 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -597,7 +597,7 @@ 🔄 {{ _('check_updates') }} - @@ -1425,7 +1425,7 @@ downloadBtn.classList.add('hidden'); try { - const response = await fetch('https://api.github.com/repos/PRVTPRO/Amnezia-Web-Panel/releases/latest'); + const response = await fetch('https://git.evilfox.cc/api/v1/repos/test2/Amnezia-Web-Panel-main/releases/latest'); if (!response.ok) throw new Error('API Error'); const data = await response.json(); @@ -1437,7 +1437,7 @@ if (latestVersion !== currentVersion && latestVersion) { statusDiv.innerHTML = `{{ _('update_available')|default('Update available') }}: ${latestVersion}`; statusDiv.style.border = '1px solid var(--success)'; - downloadBtn.href = data.html_url; + downloadBtn.href = data.html_url || 'https://git.evilfox.cc/test2/Amnezia-Web-Panel-main/releases'; downloadBtn.classList.remove('hidden'); } else { statusDiv.innerHTML = `{{ _('up_to_date')|default('Up to date') }}`;