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: disable early updates
Andras Bacsai99c8607ff4b3
diff --git a/app/Http/Livewire/Settings/Configuration.php b/app/Http/Livewire/Settings/Configuration.phpindex 9bc7c20cb4..6f5fd3475c 100644--- a/app/Http/Livewire/Settings/Configuration.php+++ b/app/Http/Livewire/Settings/Configuration.php@@ -45,7 +45,12 @@ class Configuration extends Component$this->settings->do_not_track = $this->do_not_track;$this->settings->is_auto_update_enabled = $this->is_auto_update_enabled;$this->settings->is_registration_enabled = $this->is_registration_enabled;- $this->settings->next_channel = $this->next_channel;+ if ($this->next_channel) {+ $this->settings->next_channel = false;+ $this->next_channel = false;+ } else {+ $this->settings->next_channel = $this->next_channel;+ }$this->settings->save();$this->emit('success', 'Settings updated!');}diff --git a/resources/views/livewire/settings/configuration.blade.php b/resources/views/livewire/settings/configuration.blade.phpindex 0f0c69e6a7..a5a0a60ef3 100644--- a/resources/views/livewire/settings/configuration.blade.php+++ b/resources/views/livewire/settings/configuration.blade.php@@ -24,7 +24,12 @@<x-forms.checkbox instantSave id="is_auto_update_enabled" label="Auto Update Coolify" /><x-forms.checkbox instantSave id="is_registration_enabled" label="Registration Allowed" /><x-forms.checkbox instantSave id="do_not_track" label="Do Not Track" />+ @if($next_channel)<x-forms.checkbox instantSave helper="Do not recommended, only if you like to live on the edge."id="next_channel" label="Enable pre-release (early) updates" />+ @else+ <x-forms.checkbox disabled instantSave helper="Currently disabled. Do not recommended, only if you like to live on the edge."+ id="next_channel" label="Enable pre-release (early) updates" />+ @endif</div></div>