From 46bf76b18516fc8d6fd751d661ddeea80f7c9d2c Mon Sep 17 00:00:00 2001 From: fscarmen2 Date: Mon, 5 Feb 2024 05:03:35 +0000 Subject: [PATCH] Change the CDN to gh.api.99988866.xyz --- README.md | 2 +- README_EN.md | 2 +- dashboard.sh | 2 +- init.sh | 2 +- template/backup.sh | 2 +- template/renew.sh | 2 +- template/restore.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index dc430ef2..37ef76dc 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Documentation: [English version](https://github.com/fscarmen2/Argo-Nezha-Service * 手/自一体还原备份 --- 每分钟检测一次在线还原文件的内容,遇到有更新立刻还原 * 默认内置本机探针 --- 能很方便的监控自身服务器信息 -image +image ## 准备需要用的变量 diff --git a/README_EN.md b/README_EN.md index d8f4371c..b577efba 100644 --- a/README_EN.md +++ b/README_EN.md @@ -38,7 +38,7 @@ Documentation: English version | [中文版](https://github.com/fscarmen2/Argo-N * Manual/automatic restore backup --- check the content of online restore file once a minute, and restore immediately when there is any update. * Default built-in local probes --- can easily monitor their own server information -image +image ## Prepare variables to be used diff --git a/dashboard.sh b/dashboard.sh index 83681ad9..9d42c1fc 100644 --- a/dashboard.sh +++ b/dashboard.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # 各变量默认值 -GH_PROXY=https://mirror.ghproxy.com/ +GH_PROXY='https://gh.api.99988866.xyz/' WORK_DIR='/opt/nezha/dashboard' TEMP_DIR='/tmp/nezha' START_PORT='5000' diff --git a/init.sh b/init.sh index a77c9b70..12de00cf 100644 --- a/init.sh +++ b/init.sh @@ -4,7 +4,7 @@ if [ ! -s /etc/supervisor/conf.d/damon.conf ]; then # 设置 Github CDN 及若干变量 - GH_PROXY=https://mirror.ghproxy.com/ + GH_PROXY='https://gh.api.99988866.xyz/' GRPC_PROXY_PORT=443 GRPC_PORT=5555 WEB_PORT=80 diff --git a/template/backup.sh b/template/backup.sh index b5aee1fc..4369335e 100644 --- a/template/backup.sh +++ b/template/backup.sh @@ -2,7 +2,7 @@ # backup.sh 传参 a 自动还原; 传参 m 手动还原; 传参 f 强制更新面板 app 文件及 cloudflared 文件,并备份数据至成备份库 -GH_PROXY=https://mirror.ghproxy.com/ +GH_PROXY='https://gh.api.99988866.xyz/' GH_PAT= GH_BACKUP_USER= GH_EMAIL= diff --git a/template/renew.sh b/template/renew.sh index d24e3905..ef0c627e 100644 --- a/template/renew.sh +++ b/template/renew.sh @@ -2,7 +2,7 @@ # renew.sh 用于在线同步最新的 backup.sh 和 restore.sh 脚本 -GH_PROXY=https://mirror.ghproxy.com/ +GH_PROXY='https://gh.api.99988866.xyz/' WORK_DIR= TEMP_DIR= diff --git a/template/restore.sh b/template/restore.sh index 41e89c02..1481e80d 100644 --- a/template/restore.sh +++ b/template/restore.sh @@ -2,7 +2,7 @@ # restore.sh 传参 a 自动还原 README.md 记录的文件,当本地与远程记录文件一样时不还原; 传参 f 不管本地记录文件,强制还原成备份库里 README.md 记录的文件; 传参 dashboard-***.tar.gz 还原成备份库里的该文件;不带参数则要求选择备份库里的文件名 -GH_PROXY=https://mirror.ghproxy.com/ +GH_PROXY='https://gh.api.99988866.xyz/' GH_PAT= GH_BACKUP_USER= GH_REPO=