This commit is contained in:
Andras Bacsai 2023-12-04 21:13:46 +01:00
parent a3e088199f
commit ac13ba0957

View File

@ -9,11 +9,11 @@ window.Pusher = Pusher;
window.Echo = new Echo({ window.Echo = new Echo({
broadcaster: 'pusher', broadcaster: 'pusher',
cluster: import.meta.env.VITE_PUSHER_HOST ?? '127.0.0.1', cluster: window.location.hostname,
key: import.meta.env.VITE_PUSHER_APP_KEY ?? 'coolify', key: import.meta.env.VITE_PUSHER_APP_KEY ?? 'coolify',
wsHost: import.meta.env.VITE_PUSHER_HOST ?? '127.0.0.1', wsHost: window.location.hostname,
wsPort: import.meta.env.VITE_PUSHER_PORT, wsPort: 6001,
wssPort: import.meta.env.VITE_PUSHER_PORT, wssPort: 6001,
forceTLS: false, forceTLS: false,
encrypted: true, encrypted: true,
disableStats: false, disableStats: false,