-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
In order to get echo working after a page refresh I have to do this:
this.$echo.options.broadcaster = this.$echo.config.broadcaster
await this.$echo.connect()
it works when the user logs in, but after a refresh it stops and options.broadcaster is null, and connect isnt run again.
i am on version alpha5
with the latest auth-next
, my config is:
echo: {
broadcaster: 'pusher',
key: process.env.PUSHER_APP_KEY,
cluster: process.env.PUSHER_APP_CLUSTER,
authEndpoint: `${process.env.API_URL}/broadcasting/auth`,
encrypted: true,
authModule: true,
connectOnLogin: true,
disconnectOnLogout: true,
},
devzom, pavloskafritsas and tcampbPPU
Metadata
Metadata
Assignees
Labels
No labels