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({ window.Echo = new Echo({
broadcaster: 'pusher', broadcaster: 'pusher',
cluster: window.location.hostname, cluster: import.meta.env.VITE_PUSHER_HOST || window.location.hostname,
key: import.meta.env.VITE_PUSHER_APP_KEY, key: import.meta.env.VITE_PUSHER_APP_KEY,
wsHost: window.location.hostname, wsHost: import.meta.env.VITE_PUSHER_HOST || window.location.hostname,
wsPort: 6001, wsPort: import.meta.env.VITE_PUSHER_PORT || 6001,
wssPort: 6001, wssPort: import.meta.env.VITE_PUSHER_PORT || 6001,
forceTLS: false, forceTLS: false,
encrypted: true, encrypted: true,
disableStats: false, disableStats: false,