fix: 更新Cloudflare API凭据并加载环境变量

更新脚本中的Cloudflare API令牌和账户ID为新的有效凭据,并添加source ~/.bashrc以确保环境变量生效
This commit is contained in:
Kenny Yang committed 2025-06-04 10:46:29 +08:00
1 parent da5ff4a4ad
commit 8b2893aaa2
1 file changed
+3 -2
+3 -2
View File
@@ -5,8 +5,9 @@ read -r -p "请输入反代理IP地址: " ip_address
read -r -p "请输入反代理端口: " port read -r -p "请输入反代理端口: " port
# 设置Cloudflare API环境变量 # 设置Cloudflare API环境变量
export CF_Token="XHLDcOHln93Fppeav63Z-DMujjU1o3gZtJ8FMnF3" # 替换为刚生成的API令牌 export CF_Token="NXCgZOt0DDuYdQ59ehyeR-wPFffxIotr1qO2oqSv"
export CF_Account_ID="ybwpcl@hotmail.com" # 在Cloudflare控制台首页右侧获取 export CF_Account_ID="3b1306fed3472419f830e0cf96cb85ce"
source ~/.bashrc
# 安装acme.sh(必须先安装) # 安装acme.sh(必须先安装)
echo "正在安装 acme.sh 脚本..." echo "正在安装 acme.sh 脚本..."