From aaddf08dd88deb4848861006006338d4facea7ff Mon Sep 17 00:00:00 2001 From: chaos-zhu Date: Fri, 11 Oct 2024 23:35:38 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=E7=AC=AC=E4=B8=89?= =?UTF-8?q?=E6=96=B9git=E4=BB=A3=E7=90=86=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- client/easynode-client-install.sh | 2 +- server/app/config/shell.json | 4 ++-- web/src/views/onekey/index.vue | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 04dc65d..dfde0df 100644 --- a/README.md +++ b/README.md @@ -66,13 +66,13 @@ pm2 start index.js --name easynode-server > 安装 ```shell -curl -o- https://mirror.ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash +curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash ``` > 卸载 ```shell -curl -o- https://mirror.ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-uninstall.sh | bash +curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-uninstall.sh | bash ``` > 查看监控服务状态:`systemctl status easynode-client` diff --git a/client/easynode-client-install.sh b/client/easynode-client-install.sh index f3c90d6..4a89303 100644 --- a/client/easynode-client-install.sh +++ b/client/easynode-client-install.sh @@ -9,7 +9,7 @@ SERVER_NAME=easynode-client FILE_PATH=/root/local/easynode-client SERVICE_PATH=/etc/systemd/system CLIENT_VERSION=client-2024-08-17 # 目前监控客户端版本发布需手动更改为最新版本号 -SERVER_PROXY="https://mirror.ghproxy.com/" +SERVER_PROXY="https://ghp.ci/" echo "***********************开始安装EasyNode监控客户端端,当前版本号: ${CLIENT_VERSION}***********************" diff --git a/server/app/config/shell.json b/server/app/config/shell.json index 272549a..cfbd55d 100644 --- a/server/app/config/shell.json +++ b/server/app/config/shell.json @@ -1,12 +1,12 @@ [ { "name": "easynode监控服务安装", - "command": "curl -o- https://mirror.ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash", + "command": "curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash", "description": "easynode-监控服务-安装脚本" }, { "name": "easynode监控服务卸载", - "command": "curl -o- https://mirror.ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-uninstall.sh | bash", + "command": "curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-uninstall.sh | bash", "description": "easynode-监控服务-卸载脚本" }, { diff --git a/web/src/views/onekey/index.vue b/web/src/views/onekey/index.vue index 75513f4..ebe86ac 100644 --- a/web/src/views/onekey/index.vue +++ b/web/src/views/onekey/index.vue @@ -411,7 +411,7 @@ onActivated(async () => { const { hostIds, execClientInstallScript } = route.query if (!hostIds) return if (execClientInstallScript === 'true') { - let clientInstallScript = 'curl -o- https://mirror.ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash\n' + let clientInstallScript = 'curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash\n' console.log(hostIds.split(',')) createExecShell(hostIds.split(','), clientInstallScript, 300) // $messageBox.confirm(`准备安装客户端服务监控应用:${ host }`, 'Warning', { @@ -420,7 +420,7 @@ onActivated(async () => { // type: 'warning' // }) // .then(async () => { - // let clientInstallScript = 'curl -o- https://mirror.ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash\n' + // let clientInstallScript = 'curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash\n' // createExecShell([host,], clientInstallScript, 300) // }) }