This commit is contained in:
Andras Bacsai 2023-12-05 11:47:40 +01:00
parent 29ca461a9a
commit 3a987c8a6e

View File

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