Update build pack settings and port values
This commit is contained in:
parent
048e153025
commit
0c5e8600bd
1 changed files with 2 additions and 0 deletions
|
|
@ -61,9 +61,11 @@ public function updatedBuildPack()
|
||||||
{
|
{
|
||||||
if ($this->build_pack === 'nixpacks') {
|
if ($this->build_pack === 'nixpacks') {
|
||||||
$this->show_is_static = true;
|
$this->show_is_static = true;
|
||||||
|
$this->port = 3000;
|
||||||
} else if ($this->build_pack === 'static') {
|
} else if ($this->build_pack === 'static') {
|
||||||
$this->show_is_static = false;
|
$this->show_is_static = false;
|
||||||
$this->is_static = false;
|
$this->is_static = false;
|
||||||
|
$this->port = 80;
|
||||||
} else {
|
} else {
|
||||||
$this->show_is_static = false;
|
$this->show_is_static = false;
|
||||||
$this->is_static = false;
|
$this->is_static = false;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue