An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(settings): fix 404 on /settings for root user on cloud (#7785)
Andras Bacsai009b4e7d4803
diff --cc app/Livewire/Settings/Index.phpindex 14c0eec326,ae74488072..ded1c1a4d0--- a/app/Livewire/Settings/Index.php+++ b/app/Livewire/Settings/Index.php@@@ -119,15 -121,9 +121,15 @@@ class Index extends Componenreturn;}++ // Trim FQDN to remove leading/trailing whitespace before validation+ if ($this->fqdn) {+ $this->fqdn = trim($this->fqdn);+ }+$this->validate();- if ($this->settings->is_dns_validation_enabled && $this->fqdn) {+ if ($this->settings->is_dns_validation_enabled && $this->fqdn && $this->server) {if (! validateDNSEntry($this->fqdn, $this->server)) {$this->dispatch('error', "Validating DNS failed.<br><br>Make sure you have added the DNS records correctly.<br><br>{$this->fqdn}->{$this->server->ip}<br><br>Check this <a target='_blank' class='underline dark:text-white' href='https://coolify.io/docs/knowledge-base/dns-configuration'>documentation</a> for further help.");$error_show = true;