Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Fix submit method naming

ayntk-ai0337c4e79d62
diff --git a/app/Livewire/Server/Form.php b/app/Livewire/Server/Form.php
index 2c96a4f162..7c176c952b 100644
--- a/app/Livewire/Server/Form.php
+++ b/app/Livewire/Server/Form.php
@@ -203,10 +203,10 @@ class Form extends Component
}
refresh_server_connection($this->server->privateKey);
$this->server->settings->wildcard_domain = $this->wildcard_domain;
- if ($this->server->settings->force_server_cleanup) {
- $this->server->settings->server_cleanup_frequency = $this->server->settings->server_cleanup_frequency;
+ if ($this->server->settings->force_docker_cleanup) {
+ $this->server->settings->docker_cleanup_frequency = $this->server->settings->docker_cleanup_frequency;
} else {
- $this->server->settings->server_cleanup_threshold = $this->server->settings->server_cleanup_threshold;
+ $this->server->settings->docker_cleanup_threshold = $this->server->settings->docker_cleanup_threshold;
}
$this->server->settings->save();
$this->server->save();