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