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
Refactor General.php to update application fqdn handling
Andras Bacsai0e43e5d295f1
diff --git a/app/Livewire/Project/Application/General.php b/app/Livewire/Project/Application/General.phpindex 2468112b89..0def08bb26 100644--- a/app/Livewire/Project/Application/General.php+++ b/app/Livewire/Project/Application/General.php@@ -214,6 +214,12 @@ class General extends Component}public function updatedApplicationFqdn(){+ $this->application->fqdn = str($this->application->fqdn)->replaceEnd(',', '')->trim();+ $this->application->fqdn = str($this->application->fqdn)->replaceStart(',', '')->trim();+ $this->application->fqdn = str($this->application->fqdn)->trim()->explode(',')->map(function ($domain) {+ return str($domain)->trim()->lower();+ });+ $this->application->fqdn = $this->application->fqdn->unique()->implode(',');$this->resetDefaultLabels();}public function updatedApplicationBuildPack()