Commented out reloadCaddy() calls in DynamicConfigurationNavbar.php, NewDynamicConfiguration.php, and Server.php
This commit is contained in:
parent
8eacf67725
commit
6950966b06
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user