This commit is contained in:
Andras Bacsai
2023-12-11 20:22:31 +01:00
parent ccb9769e67
commit 601a1e128e
4 changed files with 2 additions and 5 deletions

View File

@@ -1551,7 +1551,7 @@ function generateEnvValue(string $command)
function getRealtime()
{
$envDefined = env('PUSHER_PORT');
if (is_null($envDefined)) {
if (empty($envDefined)) {
$url = Url::fromString(Request::getSchemeAndHttpHost());
$port = $url->getPort();
if ($port) {