fix(previews): simplify FQDN generation logic by removing unnecessary empty check
This commit is contained in:
parent
e0aa28ba31
commit
7fe6a4198d
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ public function persistentStorages()
|
|||
|
||||
public function generate_preview_fqdn()
|
||||
{
|
||||
if (empty($this->fqdn) && $this->application->fqdn) {
|
||||
if ($this->application->fqdn) {
|
||||
if (str($this->application->fqdn)->contains(',')) {
|
||||
$url = Url::fromString(str($this->application->fqdn)->explode(',')[0]);
|
||||
$preview_fqdn = getFqdnWithoutPort(str($this->application->fqdn)->explode(',')[0]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue