mirror of
https://github.com/cupcakearmy/coolify.git
synced 2024-10-23 00:24:15 +02:00
fix
This commit is contained in:
parent
f0ee26cd86
commit
40716550ec
@ -31,7 +31,8 @@ public function fqdn(): Attribute
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
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 @@ public static function realtimePort() {
|
|||||||
$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>
|
||||||
|
Loading…
Reference in New Issue
Block a user