Fix disabling of environment variables starting with SERVICE_FQDN or SERVICE_URL in Show.php

This commit is contained in:
Andras Bacsai 2024-04-25 14:29:23 +02:00
parent cd7272d00a
commit b78ca71c0f

View File

@ -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;
}