neil committed 2022-08-26 19:47:45 +08:00
1 parent 238ecfc539
commit 3dde83d8a0
1 file changed
+1 -1
+1 -1
View File
@@ -110,7 +110,7 @@ _get_root() {
return 1 return 1
fi fi
if _contains "$response" "<domain>$host"; then if _contains "$response" ">$host</domain>"; then
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p) _sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
_domain="$host" _domain="$host"
return 0 return 0