From b78ca71c0f774d4fcf85b6134497642a80992004 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 25 Apr 2024 14:29:23 +0200 Subject: [PATCH] Fix disabling of environment variables starting with SERVICE_FQDN or SERVICE_URL in Show.php --- app/Livewire/Project/Shared/EnvironmentVariable/Show.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Livewire/Project/Shared/EnvironmentVariable/Show.php b/app/Livewire/Project/Shared/EnvironmentVariable/Show.php index 9beb7cfab..65e91e60a 100644 --- a/app/Livewire/Project/Shared/EnvironmentVariable/Show.php +++ b/app/Livewire/Project/Shared/EnvironmentVariable/Show.php @@ -50,9 +50,9 @@ public function mount() public function checkEnvs() { $this->isDisabled = false; - // if (str($this->env->key)->startsWith('SERVICE_FQDN') || str($this->env->key)->startsWith('SERVICE_URL')) { - // $this->isDisabled = true; - // } + if (str($this->env->key)->startsWith('SERVICE_FQDN') || str($this->env->key)->startsWith('SERVICE_URL')) { + $this->isDisabled = true; + } if ($this->env->is_shown_once) { $this->isLocked = true; }