fix(ApplicationPreview): change null check to empty check for fqdn in generate_preview_fqdn method
This commit is contained in:
parent
1c628a8a9e
commit
73cdbd501c
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ public function persistentStorages()
|
|||
|
||||
public function generate_preview_fqdn()
|
||||
{
|
||||
if (is_null($this->fqdn) && $this->application->fqdn) {
|
||||
if (empty($this->fqdn) && $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