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 is required on shared variables
peaklabs-dev1d2e9b69461b
diff --git a/app/Livewire/Project/Shared/EnvironmentVariable/Show.php b/app/Livewire/Project/Shared/EnvironmentVariable/Show.phpindex 0538a6bdb4..53c4374dfc 100644--- a/app/Livewire/Project/Shared/EnvironmentVariable/Show.php+++ b/app/Livewire/Project/Shared/EnvironmentVariable/Show.php@@ -112,14 +112,20 @@ class Show extends Component$this->validate();}- if ($this->env->is_required && str($this->env->real_value)->isEmpty()) {+ if (! $this->isSharedVariable && $this->env->is_required && str($this->env->real_value)->isEmpty()) {$oldValue = $this->env->getOriginal('value');$this->env->value = $oldValue;$this->dispatch('error', 'Required environment variable cannot be empty.');return;}+$this->serialize();++ if ($this->isSharedVariable) {+ unset($this->env->is_required);+ }+$this->env->save();$this->dispatch('success', 'Environment variable updated.');$this->dispatch('envsUpdated');