Fix reloadCaddy() method call in delete() function
This commit is contained in:
parent
25ae54cab7
commit
d4d0330f70
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ public function delete(string $fileName)
|
||||||
}
|
}
|
||||||
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…
Reference in a new issue