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: Improve saving of custom internal name in Advanced.php
Andras Bacsaic7a79514cc07
diff --git a/app/Livewire/Project/Application/Advanced.php b/app/Livewire/Project/Application/Advanced.phpindex cde3322db4..32a1eb7048 100644--- a/app/Livewire/Project/Application/Advanced.php+++ b/app/Livewire/Project/Application/Advanced.php@@ -96,6 +96,12 @@ class Advanced extends Component} else {$this->application->settings->custom_internal_name = null;}+ if (is_null($this->application->settings->custom_internal_name)) {+ $this->application->settings->save();+ $this->dispatch('success', 'Custom name saved.');++ return;+ }$customInternalName = $this->application->settings->custom_internal_name;$server = $this->application->destination->server;$allApplications = $server->applications();