Merge remote-tracking branch 'origin/next' into refactor/sync-model-attributes

This commit is contained in:
Andras Bacsai committed 2026-03-29 21:28:41 +02:00
commit a52352f6cc
2 files changed
+61

No files matched your search

@@ -735,6 +735,7 @@ class General extends Component
$this->authorize('update', $this->application);
try {
$this->application->redirect = $this->redirect;
$has_www = collect($this->application->fqdns)->filter(fn ($fqdn) => str($fqdn)->contains('www.'))->count();
if ($has_www === 0 && $this->application->redirect === 'www') {
$this->dispatch('error', 'You want to redirect to www, but you do not have a www domain set.<br><br>Please add www to your domain list and as an A DNS record (if applicable).');