wip
This commit is contained in:
parent
29ca461a9a
commit
3a987c8a6e
1 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue