fix bug
This commit is contained in:
parent
5fd7776361
commit
59645a6593
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user