fix
This commit is contained in:
parent
6d9a66ff1b
commit
423dfc6280
@ -37,6 +37,10 @@ class InstanceSettings extends Model implements SendsEmail
|
||||
return $envDefined;
|
||||
}
|
||||
$url = Url::fromString(Request::getSchemeAndHttpHost());
|
||||
$port = $url->getPort();
|
||||
if ($port) {
|
||||
return 6001;
|
||||
}
|
||||
if ($url->getScheme() === 'https') {
|
||||
return 443;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user