Update index.html

Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
elseif 2025-09-19 13:07:29 +08:00 committed by GitHub
parent 8281f0193f
commit f03d0300d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -504,7 +504,7 @@
clearCacheBtn.style.display = ghProxyCheckbox.checked ? "inline-flex" : "none";
function updateAllDownloadLinks() {
document.querySelectorAll('a[href*="github.com/elseif/MikroTikPatch/release/"]').forEach(link => {
document.querySelectorAll('a[href*="github.com/elseif/MikroTikPatch/release"]').forEach(link => {
const isProxyEnabled = localStorage.getItem("gh-proxy-enabled") === "true";
const hasProxy = link.href.includes('gh-proxy.com');
if (isProxyEnabled && !hasProxy) {