Fix reloadCaddy() method call in delete() function

This commit is contained in:
Andras Bacsai 2024-03-12 17:35:53 +01:00
parent 25ae54cab7
commit d4d0330f70

View File

@ -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');