From 64d5db8c561821d14c33621bbc3eca0a88b7f677 Mon Sep 17 00:00:00 2001 From: chaos-zhu Date: Wed, 5 Feb 2025 22:14:25 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8Dgit=E4=BB=A3=E7=90=86?= =?UTF-8?q?host?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- client/easynode-client-install.sh | 2 +- server/app/config/shell.json | 4 ++-- web/src/views/onekey/index.vue | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 07f1030..6a879a0 100644 --- a/README.md +++ b/README.md @@ -79,16 +79,16 @@ docker run -d -p 8082:8082 --restart=always -v /root/easynode/db:/easynode/app/d ```shell # 使用默认端口22022安装 -curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash +curl -o- https://ghfast.top/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash # 使用自定义端口安装, 例如54321 -curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash -s -- 54321 +curl -o- https://ghfast.top/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash -s -- 54321 ``` > 卸载 ```shell -curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-uninstall.sh | bash +curl -o- https://ghfast.top/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 095f2d2..6db054f 100644 --- a/client/easynode-client-install.sh +++ b/client/easynode-client-install.sh @@ -10,7 +10,7 @@ SERVER_NAME=easynode-client FILE_PATH=/root/local/easynode-client SERVICE_PATH=/etc/systemd/system CLIENT_VERSION=client-2024-10-13 # 目前监控客户端版本发布需手动更改为最新版本号 -SERVER_PROXY="https://ghp.ci/" +SERVER_PROXY="https://ghfast.top/" if [ ! -z "$1" ]; then clientPort=$1 diff --git a/server/app/config/shell.json b/server/app/config/shell.json index cfbd55d..a2a4162 100644 --- a/server/app/config/shell.json +++ b/server/app/config/shell.json @@ -1,12 +1,12 @@ [ { "name": "easynode监控服务安装", - "command": "curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash", + "command": "curl -o- https://ghfast.top/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash", "description": "easynode-监控服务-安装脚本" }, { "name": "easynode监控服务卸载", - "command": "curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-uninstall.sh | bash", + "command": "curl -o- https://ghfast.top/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 9da279d..547e27a 100644 --- a/web/src/views/onekey/index.vue +++ b/web/src/views/onekey/index.vue @@ -426,7 +426,7 @@ onActivated(async () => { const { hostIds, execClientInstallScript } = route.query if (!hostIds) return if (execClientInstallScript === 'true') { - let clientInstallScript = 'curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash\n' + let clientInstallScript = 'curl -o- https://ghfast.top/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', { @@ -435,7 +435,7 @@ onActivated(async () => { // type: 'warning' // }) // .then(async () => { - // let clientInstallScript = 'curl -o- https://ghp.ci/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash\n' + // let clientInstallScript = 'curl -o- https://ghfast.top/https://raw.githubusercontent.com/chaos-zhu/easynode/main/client/easynode-client-install.sh | bash\n' // createExecShell([host,], clientInstallScript, 300) // }) }