mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-10 10:22:46 +00:00
Tidied again
This commit is contained in:
parent
c00f316946
commit
8925e50670
@ -107,10 +107,9 @@ _check_http_net_zone() {
|
||||
}
|
||||
}' "$HTTP_NET_AUTHTOKEN" "$domain2check")
|
||||
|
||||
|
||||
response="$(_post "$payload" "${HTTP_NET_API}/zoneConfigsFind" "" "POST" "text/json")"
|
||||
|
||||
if _contains "$response" '"totalEntries": 1,' > /dev/null; then
|
||||
if _contains "$response" '"totalEntries": 1,' >/dev/null; then
|
||||
_debug "Detect $domain2check as a valid DNS zone"
|
||||
return 0
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user