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.

chore: prepare for PR

Andras Bacsai76084ce69ba5
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.php
index 2a4159ff7b..a413559669 100644
--- a/app/Jobs/ApplicationDeploymentJob.php
+++ b/app/Jobs/ApplicationDeploymentJob.php
@@ -2777,9 +2777,10 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue
{
// Handle CMD type healthcheck
if ($this->application->health_check_type === 'cmd' && ! empty($this->application->health_check_command)) {
- $this->full_healthcheck_url = $this->application->health_check_command;
+ $command = str_replace(["\r\n", "\r", "\n"], ' ', $this->application->health_check_command);
+ $this->full_healthcheck_url = $command;
- return $this->application->health_check_command;
+ return $command;
}
// HTTP type healthcheck (default)