This commit is contained in:
Olia Lisa 2025-12-31 01:59:45 +08:00
parent 569365cc81
commit 87f8155210

View File

@ -26,7 +26,7 @@ print_share_link() {
# 检查是否使用ACME证书 # 检查是否使用ACME证书
local allowInsecure=1 # 默认跳过证书验证 local allowInsecure=1 # 默认跳过证书验证
if jq -e '.acme' "$config_file" > /dev/null 2>&1; then if jq -e 'has("acme")' "$config_file" > /dev/null 2>&1; then
allowInsecure=0 # 不跳过证书验证 allowInsecure=0 # 不跳过证书验证
fi fi