fix
This commit is contained in:
parent
f0ee26cd86
commit
40716550ec
@ -31,7 +31,8 @@ class InstanceSettings extends Model implements SendsEmail
|
||||
}
|
||||
);
|
||||
}
|
||||
public static function realtimePort() {
|
||||
public static function realtimePort()
|
||||
{
|
||||
$envDefined = env('PUSHER_PORT');
|
||||
if ($envDefined != '6001') {
|
||||
return $envDefined;
|
||||
@ -40,11 +41,8 @@ class InstanceSettings extends Model implements SendsEmail
|
||||
$port = $url->getPort();
|
||||
if ($port) {
|
||||
return 6001;
|
||||
}
|
||||
if ($url->getScheme() === 'https') {
|
||||
return 443;
|
||||
} else {
|
||||
return 6001;
|
||||
return null;
|
||||
}
|
||||
}
|
||||
public static function get()
|
||||
|
@ -42,6 +42,7 @@
|
||||
<button>close</button>
|
||||
</form>
|
||||
</dialog>
|
||||
{{$realtimePort}}
|
||||
<x-toaster-hub />
|
||||
<x-version class="fixed left-2 bottom-1" />
|
||||
<script data-navigate-once>
|
||||
|
Loading…
x
Reference in New Issue
Block a user