mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 05:01:40 +00:00
Reflect recent Variomedia API changes
Spaces were recently removed from the JSON "response" returned by Variomedia's API.
This commit is contained in:
parent
71a5f0e84e
commit
f02af8d481
@ -107,7 +107,7 @@ _get_root() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if _startswith "$response" "\{\"data\":"; then
|
if _startswith "$response" "\{\"data\":"; then
|
||||||
if _contains "$response" "\"id\": \"$h\""; then
|
if _contains "$response" "\"id\":\"$h\""; then
|
||||||
_sub_domain="$(echo "$fulldomain" | sed "s/\\.$h\$//")"
|
_sub_domain="$(echo "$fulldomain" | sed "s/\\.$h\$//")"
|
||||||
_domain=$h
|
_domain=$h
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user