已修改 scripts/components/endpoints.sh

已修改        scripts/components/gateway.sh
已修改        scripts/start.sh
This commit is contained in:
juewuy
2025-12-14 22:14:25 +08:00
parent 9751ce9271
commit 951d93a055
3 changed files with 178 additions and 49 deletions

View File

@@ -634,7 +634,7 @@ modify_json() { #修饰singbox1.13配置文件
}
cat "$TMPDIR"/format.json | sed -n '/"route":/,/^\( "[a-z]\|}\)/p' | sed '$d' >>"$TMPDIR"/jsons/route.json
#加载端点配置文件并生成
[ "ts_service" = ON ] || [ "wg_service" = ON ] && {
[ "$ts_service" = ON ] || [ "$wg_service" = ON ] && {
. "$CRASHDIR"/configs/gateway.cfg
. "$CRASHDIR"/components/endpoints.sh
}