diff --git a/index.html b/index.html index 09ee0a3..8f5dde4 100644 --- a/index.html +++ b/index.html @@ -847,7 +847,7 @@ function updateCommand(version) { const tool = document.querySelector('input[name="tool"]:checked').value; let cmd; - const proxy = `${localStorage.getItem("gh-proxy-enabled") === "true"?" | sed 's#https://github.com#https:/gh-proxy.com/https://github.com#g'":""}`; + const proxy = `${localStorage.getItem("gh-proxy-enabled") === "true"?" | sed 's#https://github.com#https://gh-proxy.com/https://github.com#g'":""}`; if (tool === "curl") { cmd = `
curl https://mikrotik.ltd/chr.sh${proxy} | bash -s ${version}
`; } else {