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.

Update build pack settings and port values

Andras Bacsai0c5e8600bde8
diff --git a/app/Livewire/Project/New/PublicGitRepository.php b/app/Livewire/Project/New/PublicGitRepository.php
index dbf79958b3..8e1fcb5f11 100644
--- a/app/Livewire/Project/New/PublicGitRepository.php
+++ b/app/Livewire/Project/New/PublicGitRepository.php
@@ -61,9 +61,11 @@ class PublicGitRepository extends Component
{
if ($this->build_pack === 'nixpacks') {
$this->show_is_static = true;
+ $this->port = 3000;
} else if ($this->build_pack === 'static') {
$this->show_is_static = false;
$this->is_static = false;
+ $this->port = 80;
} else {
$this->show_is_static = false;
$this->is_static = false;