mirror of
https://huihui.cat/mirrors/MikroTikPatch.git
synced 2025-12-10 03:24:37 +01:00
Update index.html
Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
parent
8281f0193f
commit
f03d0300d2
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue