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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: server status when there are multiple servers
Jonathan Reisdorf096e366547a8
diff --git a/app/Models/Application.php b/app/Models/Application.phpindex e2871da4b1..4b93706d50 100644--- a/app/Models/Application.php+++ b/app/Models/Application.php@@ -479,12 +479,12 @@ class Application extends BaseModel$main_server_status = $this->destination->server->isFunctional();foreach ($additional_servers_status as $status) {$server_status = str($status)->before(':')->value();- if ($main_server_status !== $server_status) {+ if ($server_status !== 'running') {return false;}}- return true;+ return $main_server_status;}});