From 76f695036c53ef4bf9568a8566084ef7cb195630 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 10 Jan 2024 10:58:31 +0100 Subject: [PATCH] fix: static buildpack should set port 80 --- app/Livewire/Project/Application/General.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Livewire/Project/Application/General.php b/app/Livewire/Project/Application/General.php index f54a46e09..34e3d7fcd 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()