This commit is contained in:
Olia Lisa 2025-12-30 13:40:22 +08:00
parent 5fd7776361
commit 59645a6593

View File

@ -29,7 +29,7 @@ print_share_link() {
local allowInsecure=1 # 是否跳过证书验证1表示跳过0表示不跳过 local allowInsecure=1 # 是否跳过证书验证1表示跳过0表示不跳过
# 检查是否使用ACME证书 # 检查是否使用ACME证书
if jq -e '.inbounds[0].tls.acme' "$config_dir/config.json" > /dev/null 2>&;1 then if jq -e '.inbounds[0].tls.acme' "$config_dir/config.json" > /dev/null 2>&1; then
allowInsecure=0 # 不跳过证书验证 allowInsecure=0 # 不跳过证书验证
fi fi