Update build pack settings and port values

This commit is contained in:
Andras Bacsai 2024-01-25 08:59:11 +01:00
parent 048e153025
commit 0c5e8600bd

View File

@ -61,9 +61,11 @@ public function updatedBuildPack()
{
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;