remove is base domain resource and flag

This commit is contained in:
miloschwartz 2025-07-15 15:07:34 -07:00
parent ff809416f5
commit f1291d4d7d
No known key found for this signature in database
15 changed files with 8 additions and 32 deletions

View file

@ -115,7 +115,7 @@ async function copyInDomains() {
}
let fullDomain = "";
if (resource.isBaseDomain) {
if (!resource.subdomain) {
fullDomain = domain.baseDomain;
} else {
fullDomain = `${resource.subdomain}.${domain.baseDomain}`;