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 styling

andrasbacsai2335abac9181
diff --git a/app/Models/Application.php b/app/Models/Application.php
index bebf7c61c8..e536f8d690 100644
--- a/app/Models/Application.php
+++ b/app/Models/Application.php
@@ -245,6 +245,7 @@ class Application extends BaseModel
}
if (strpos($this->git_repository, 'git@') === 0) {
$git_repository = str_replace(['git@', ':', '.git'], ['', '/', ''], $this->git_repository);
+
return "https://{$git_repository}/commit/{$link}";
}