mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-18 04:59:31 +00:00
lots of UI fixes
This commit is contained in:
@@ -27,14 +27,16 @@ class Proxy extends Component
|
||||
}
|
||||
public function switchProxy()
|
||||
{
|
||||
$this->server->proxy->type = null;
|
||||
$this->server->proxy = null;
|
||||
$this->server->save();
|
||||
$this->emit('proxyStatusUpdated');
|
||||
}
|
||||
public function setProxy(string $proxy_type)
|
||||
{
|
||||
$this->server->proxy->type = $proxy_type;
|
||||
$this->server->proxy->status = 'exited';
|
||||
$this->server->save();
|
||||
$this->emit('proxyStatusUpdated');
|
||||
}
|
||||
public function stopProxy()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user