Commented out reloadCaddy() calls in DynamicConfigurationNavbar.php, NewDynamicConfiguration.php, and Server.php

This commit is contained in:
Andras Bacsai 2024-03-11 20:39:41 +01:00
parent 8eacf67725
commit 6950966b06
3 changed files with 4 additions and 4 deletions

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

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

View File

@ -250,7 +250,7 @@ public function setupDynamicProxyConfiguration()
instant_remote_process([
"rm -f $file",
], $this);
$this->reloadCaddy();
// $this->reloadCaddy();
} else {
$url = Url::fromString($settings->fqdn);
@ -264,7 +264,7 @@ public function setupDynamicProxyConfiguration()
instant_remote_process([
"echo '$base64' | base64 -d > $file",
], $this);
$this->reloadCaddy();
// $this->reloadCaddy();
}
}
}