fix: proxy configuration + starter

This commit is contained in:
Andras Bacsai committed 2023-09-25 09:17:42 +02:00
1 parent 80a797aec8
commit 51c468ae0b
9 files changed
+49 -35

No files matched your search

+2 -2
View File
@@ -38,8 +38,8 @@ class Proxy extends Component
public function select_proxy($proxy_type)
{
$this->server->proxy->type = $proxy_type;
$this->server->proxy->status = 'exited';
$this->server->proxy->set('status', 'exited');
$this->server->proxy->set('type', $proxy_type);
$this->server->save();
$this->selectedProxy = $this->server->proxy->type;
$this->emit('proxyStatusUpdated');
+2
View File
@@ -11,6 +11,8 @@ class Modal extends Component
public function proxyStatusUpdated()
{
$this->server->proxy->set('status', 'running');
$this->server->save();
$this->emit('proxyStatusUpdated');
}
}