Better debug messages for root domain detection

pull/6178/head
peterv99 2024-12-25 14:11:52 +01:00
parent 7512dbffbb
commit 150c708726
1 changed files with 3 additions and 0 deletions

View File

@ -162,6 +162,9 @@ _get_root() {
if _contains "$domain" "$rootDomain"; then
_domain="$rootDomain"
_sub_domain=$(echo "$domain" | sed "s/.$rootDomain//g")
_debug "Found root domain" "$_domain" "and subdomain" "$_sub_domain" "for" "$domain"
return 0
fi
done