mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 20:14:45 +00:00
fix(domains): stop suggesting missing www counterpart domains
Remove buildSuggestedWwwRows from application and service domain row builders so configured domains no longer auto-surface an unconfigured www pair. Update ApplicationDomainsTest accordingly.
This commit is contained in:
1 parent
37ed725dc1
commit
402dcd7783
3 files changed
+7
-127
No files matched your search
@@ -293,9 +293,6 @@ class Domains extends Component
|
||||
$configured[] = $row;
|
||||
}
|
||||
|
||||
foreach ($this->buildSuggestedWwwRows($configured, $stored, $serviceName) as $suggested) {
|
||||
$rows[] = $suggested;
|
||||
}
|
||||
}
|
||||
|
||||
return $this->sortDomainRowsByDnsStatus($rows);
|
||||
@@ -305,7 +302,7 @@ class Domains extends Component
|
||||
$rows[] = $this->domainRowFromStored($url, null, $stored);
|
||||
}
|
||||
|
||||
return $this->sortDomainRowsByDnsStatus(array_merge($rows, $this->buildSuggestedWwwRows($rows, $stored)));
|
||||
return $this->sortDomainRowsByDnsStatus($rows);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user