fix: boarding view

This commit is contained in:
Andras Bacsai
2023-12-10 15:57:46 +01:00
parent 6bb79e10bc
commit 3d28669cad
3 changed files with 27 additions and 15 deletions

View File

@@ -46,6 +46,22 @@
<x-version class="fixed left-2 bottom-1" />
<script data-navigate-once>
@auth
window.Pusher = Pusher;
window.Echo = new Echo({
broadcaster: 'pusher',
cluster: "{{ env('PUSHER_HOST') }}" || window.location.hostname,
key: "{{ env('PUSHER_APP_KEY') }}" || 'coolify',
wsHost: "{{ env('PUSHER_HOST') }}" || window.location.hostname,
wsPort: "{{ env('PUSHER_PORT') }}" || 6001,
wssPort: "{{ env('PUSHER_PORT') }}" || 6001,
forceTLS: false,
encrypted: true,
enableStats: false,
enableLogging: true,
enabledTransports: ['ws', 'wss'],
});
@endauth
let checkHealthInterval = null;
let checkIfIamDeadInterval = null;