mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-10 14:12:43 +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")
|
}' "$HTTP_NET_AUTHTOKEN" "$domain2check")
|
||||||
|
|
||||||
|
|
||||||
response="$(_post "$payload" "${HTTP_NET_API}/zoneConfigsFind" "" "POST" "text/json")"
|
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"
|
_debug "Detect $domain2check as a valid DNS zone"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user