This commit is contained in:
Andras Bacsai 2023-05-26 10:06:01 +02:00
parent 89614fc047
commit 6192bd2cc4

View File

@ -46,12 +46,11 @@ class Form extends Component
$this->validate();
$this->settings->save();
$dynamic_config_path = '/data/coolify/proxy/dynamic';
if (config('app.env') == 'local') {
$server = Server::findOrFail(1);
$dynamic_config_path = '/data/coolify/proxy/dynamic';
} else {
$server = Server::findOrFail(0);
$dynamic_config_path = '/traefik/dynamic';
}
if (empty($this->settings->fqdn)) {