fix: static buildpack should set port 80
This commit is contained in:
parent
225bf06736
commit
76f695036c
1 changed files with 4 additions and 0 deletions
|
|
@ -170,6 +170,10 @@ public function updatedApplicationBuildPack()
|
||||||
$this->application->fqdn = null;
|
$this->application->fqdn = null;
|
||||||
$this->application->settings->save();
|
$this->application->settings->save();
|
||||||
}
|
}
|
||||||
|
if ($this->application->build_pack === 'static') {
|
||||||
|
$this->application->ports_exposes = $this->ports_exposes = 80;
|
||||||
|
$this->resetDefaultLabels(false);
|
||||||
|
}
|
||||||
$this->submit();
|
$this->submit();
|
||||||
}
|
}
|
||||||
public function checkLabelUpdates()
|
public function checkLabelUpdates()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue