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
Andras Bacsai828ecc680305
diff --git a/app/Models/ApplicationSetting.php b/app/Models/ApplicationSetting.phpindex b447cf9481..c0beabe7ce 100644--- a/app/Models/ApplicationSetting.php+++ b/app/Models/ApplicationSetting.php@@ -16,12 +16,14 @@ class ApplicationSetting extends Model{return Attribute::make(set: function ($value) {- if ($value) {- $this->application->ports_exposes = '80';- } else {- $this->application->ports_exposes = '3000';+ if (is_null($this->application->ports_exposes)) {+ if ($value) {+ $this->application->ports_exposes = '80';+ } else {+ $this->application->ports_exposes = '3000';+ }+ $this->application->save();}- $this->application->save();return $value;});diff --git a/resources/views/livewire/project/application/general.blade.php b/resources/views/livewire/project/application/general.blade.phpindex 6118772654..5018039322 100644--- a/resources/views/livewire/project/application/general.blade.php+++ b/resources/views/livewire/project/application/general.blade.php@@ -55,7 +55,7 @@<x-inputs.checkbox instantSave id="is_static" label="Static website?" /><x-inputs.checkbox helper="Git Webhooks won't deploy your application is you turn it off." instantSaveid="is_auto_deploy" label="Auto Deploy?" />- <x-inputs.checkbox helper="Preview deployments" instantSave id="is_previews" label="Previews?" />+ {{-- <x-inputs.checkbox helper="Preview deployments" instantSave id="is_previews" label="Previews?" /> --}}<x-inputs.checkbox instantSave id="is_git_submodules_allowed" label="Git Submodules Allowed?" /><x-inputs.checkbox instantSave id="is_git_lfs_allowed" label="Git LFS Allowed?" />{{-- <x-inputs.checkbox disabled instantSave id="is_dual_cert" label="Dual Certs?" />