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