switch proxy
This commit is contained in:
@@ -21,6 +21,11 @@ class Proxy extends Component
|
||||
{
|
||||
$this->server->refresh();
|
||||
}
|
||||
public function switchProxy()
|
||||
{
|
||||
$this->server->extra_attributes->proxy_type = null;
|
||||
$this->server->save();
|
||||
}
|
||||
public function installProxy()
|
||||
{
|
||||
if (
|
||||
|
||||
@@ -12,7 +12,6 @@ class Status extends Component
|
||||
protected $listeners = ['proxyStatusUpdated', 'serverValidated' => 'proxyStatusUpdated'];
|
||||
public function proxyStatusUpdated()
|
||||
{
|
||||
ray('Status: ' . $this->server->extra_attributes->proxy_status);
|
||||
$this->server->refresh();
|
||||
}
|
||||
public function proxyStatus()
|
||||
|
||||
Reference in New Issue
Block a user