mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-01 05:56:16 +00:00
load the actual env from the server
This commit is contained in:
@ -14,11 +14,11 @@ class Env extends Component
|
||||
|
||||
public Site $site;
|
||||
|
||||
public string $env;
|
||||
public string $env = 'Loading...';
|
||||
|
||||
public function mount(): void
|
||||
public function loadEnv(): void
|
||||
{
|
||||
$this->env = $this->site->env;
|
||||
$this->env = $this->site->getEnv();
|
||||
}
|
||||
|
||||
public function save(): void
|
||||
|
Reference in New Issue
Block a user