Fix reloadCaddy() method call in delete() function
This commit is contained in:
parent
25ae54cab7
commit
d4d0330f70
@ -23,7 +23,7 @@ class DynamicConfigurationNavbar extends Component
|
|||||||
}
|
}
|
||||||
instant_remote_process(["rm -f {$proxy_path}/dynamic/{$file}"], $server);
|
instant_remote_process(["rm -f {$proxy_path}/dynamic/{$file}"], $server);
|
||||||
if ($proxy_type === 'CADDY') {
|
if ($proxy_type === 'CADDY') {
|
||||||
// $server->reloadCaddy();
|
$server->reloadCaddy();
|
||||||
}
|
}
|
||||||
$this->dispatch('success', 'File deleted.');
|
$this->dispatch('success', 'File deleted.');
|
||||||
$this->dispatch('loadDynamicConfigurations');
|
$this->dispatch('loadDynamicConfigurations');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user