mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-12-24 12:14:23 +08:00
Update dns_curanet.sh
This commit is contained in:
committed by
GitHub
parent
a1f4f9ddb7
commit
b7c8601540
@@ -154,7 +154,7 @@ _get_root() {
|
||||
export _H3="Authorization: Bearer $CURANET_ACCESS_TOKEN"
|
||||
response="$(_get "$CURANET_REST_URL/$h/Records" "" "")"
|
||||
|
||||
if [ ! "$(echo "$response" | _egrep_o "Entity not found")" ]; then
|
||||
if [ ! "$(echo "$response" | _egrep_o "Entity not found|Bad Request")" ]; then
|
||||
_domain=$h
|
||||
return 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user