This commit is contained in:
Andras Bacsai
2023-06-22 10:04:39 +02:00
parent d5d671bac1
commit 33cae2c222
19 changed files with 47 additions and 17 deletions

View File

@@ -82,5 +82,6 @@ class Form extends Component
// return;
// }
$this->server->save();
$this->emit('success', 'Server updated successfully.');
}
}

View File

@@ -63,6 +63,7 @@ class Proxy extends Component
instant_remote_process([
"echo '$docker_compose_yml_base64' | base64 -d > $proxy_path/docker-compose.yml",
], $server);
$this->emit('success', 'Proxy configuration saved.');
} catch (\Exception $e) {
return general_error_handler(err: $e);
}