mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-04-29 19:12:45 +00:00
Removed "." from _sub_domain to create a valid domain.
This commit is contained in:
parent
ab1a2045d9
commit
c7cecd5b4f
@ -147,7 +147,7 @@ _get_root() {
|
||||
for rootDomain in $rootDomains; do
|
||||
if _contains "$domain" "$rootDomain"; then
|
||||
_domain="$rootDomain"
|
||||
_sub_domain=$(echo "$domain" | sed "s/$rootDomain//g")
|
||||
_sub_domain=$(echo "$domain" | sed "s/.$rootDomain//g")
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user