Fix reloadCaddy() method call in addDynamicConfiguration()

This commit is contained in:
Andras Bacsai 2024-03-12 17:36:32 +01:00
parent d4d0330f70
commit 0519ce2001

View File

@ -71,7 +71,7 @@ public function addDynamicConfiguration()
"echo '{$base64_value}' | base64 -d > {$file}",
], $this->server);
if ($proxy_type === 'CADDY') {
// $this->server->reloadCaddy();
$this->server->reloadCaddy();
}
$this->dispatch('loadDynamicConfigurations');
$this->dispatch('dynamic-configuration-added');