laravel-echo-module
laravel-echo-module copied to clipboard
How to configure using custom pusher server ?
Here's my configuration. I can't find on the docs on how to configure key, host, port and auth endpoint.
const config = {
broadcaster: 'pusher',
key: process.env.PUSHER_APP_KEY,
wssHost: process.env.PUSHER_APP_HOST,
wssPort: process.env.PUSHER_APP_PORT,
authEndpoint: process.env.WS_AUTH_ENDPOINT,
disableStats: true,
auth: {
headers: {
Authorization: '',
Accept: 'application/json'
}
}
}
Hi @kszyrvercobrador The settings are the same as https://laravel.com/docs/7.x/broadcasting Could you provide more information?
i dunno but the config does nothing except for the key & broadcaster property.
host either gets overriden or its not used