This commit is contained in:
Andras Bacsai committed 2023-05-15 21:14:45 +02:00
1 parent 43a4b1c9cb
commit 6910f9c5c7
5 files changed
+64 -56

No files matched your search

+1
View File
@@ -43,6 +43,7 @@ class Form extends Component
if (!$this->server->settings->is_validated) {
$this->server->settings->is_validated = true;
$this->server->settings->save();
$this->emit('serverValidated');
}
}
$this->dockerVersion = instantRemoteProcess(['docker version|head -2|grep -i version'], $this->server, false);
+5
View File
@@ -11,11 +11,16 @@ use Livewire\Component;
class Proxy extends Component
{
protected $listeners = ['serverValidated'];
public Server $server;
public ProxyTypes $selectedProxy = ProxyTypes::TRAEFIK_V2;
public $proxy_settings = null;
public function serverValidated()
{
$this->server->settings->refresh();
}
public function installProxy()
{
$this->saveConfiguration($this->server);