mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-26 23:11:44 +00:00
Merge pull request #3529 from Haarolean/bugfix/porkbun-fixes
Porkbun DNS API fixes
This commit is contained in:
commit
495ba01d8e
@ -110,8 +110,8 @@ _get_root() {
|
|||||||
|
|
||||||
if _porkbun_rest POST "dns/retrieve/$h"; then
|
if _porkbun_rest POST "dns/retrieve/$h"; then
|
||||||
if _contains "$response" "\"status\":\"SUCCESS\""; then
|
if _contains "$response" "\"status\":\"SUCCESS\""; then
|
||||||
_sub_domain="$(echo "$fulldomain" | sed "s/\\.$_domain\$//")"
|
|
||||||
_domain=$h
|
_domain=$h
|
||||||
|
_sub_domain="$(echo "$fulldomain" | sed "s/\\.$_domain\$//")"
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
_debug "Go to next level of $_domain"
|
_debug "Go to next level of $_domain"
|
||||||
|
Loading…
Reference in New Issue
Block a user