fix
This commit is contained in:
parent
6d9a66ff1b
commit
423dfc6280
1 changed files with 4 additions and 0 deletions
|
|
@ -37,6 +37,10 @@ public static function realtimePort() {
|
|||
return $envDefined;
|
||||
}
|
||||
$url = Url::fromString(Request::getSchemeAndHttpHost());
|
||||
$port = $url->getPort();
|
||||
if ($port) {
|
||||
return 6001;
|
||||
}
|
||||
if ($url->getScheme() === 'https') {
|
||||
return 443;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue