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: static buildpack should set port 80

Andras Bacsai76f695036c53
diff --git a/app/Livewire/Project/Application/General.php b/app/Livewire/Project/Application/General.php
index f54a46e098..34e3d7fcd4 100644
--- a/app/Livewire/Project/Application/General.php
+++ b/app/Livewire/Project/Application/General.php
@@ -170,6 +170,10 @@ class General extends Component
$this->application->fqdn = null;
$this->application->settings->save();
}
+ if ($this->application->build_pack === 'static') {
+ $this->application->ports_exposes = $this->ports_exposes = 80;
+ $this->resetDefaultLabels(false);
+ }
$this->submit();
}
public function checkLabelUpdates()