From 272aaab85c10e905b97a143921f7a74b59e96e10 Mon Sep 17 00:00:00 2001 From: fscarmen <62703343+fscarmen@users.noreply.github.com> Date: Thu, 23 Apr 2026 17:10:01 +0800 Subject: [PATCH] fix: correct sing-box template download URL in Docker flow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix: 修复 Docker 下载 sing-box 模板地址错误 --- docker_init.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker_init.sh b/docker_init.sh index 97b5adc..897ba26 100644 --- a/docker_init.sh +++ b/docker_init.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# 脚本更新日期 2026.02.08 +# 脚本更新日期 2026.04.23 set -e WORK_DIR=/sing-box @@ -1275,7 +1275,7 @@ anytls://${UUID}@${SERVER_IP_1}:${PORT_ANYTLS}?security=tls&sni=addons.mozilla.o local NODE_REPLACE+="\"${NODE_NAME} anytls\"," # 模板 - local SING_BOX_JSON=$(wget -qO- --tries=3 --timeout=2 ${SUBSCRIBE_TEMPLATE}/sing-box1) + local SING_BOX_JSON=$(wget -qO- --tries=3 --timeout=2 ${SUBSCRIBE_TEMPLATE}/sing-box) echo $SING_BOX_JSON | sed "s#\"\",#$OUTBOUND_REPLACE#; s#\"\"#${NODE_REPLACE%,}#g" | ${WORK_DIR}/jq > ${WORK_DIR}/subscribe/sing-box @@ -1442,4 +1442,4 @@ case "$ACTION" in install # 用 s6-overlay 作为 PID 1 承载守护 exec /init -esac \ No newline at end of file +esac