laravel-echo-module icon indicating copy to clipboard operation
laravel-echo-module copied to clipboard

How to configure using custom pusher server ?

Open kszyrvercobrador opened this issue 4 years ago • 2 comments

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'
    }
  }
}

kszyrvercobrador avatar May 19 '20 03:05 kszyrvercobrador

Hi @kszyrvercobrador The settings are the same as https://laravel.com/docs/7.x/broadcasting Could you provide more information?

ricardogobbosouza avatar May 19 '20 21:05 ricardogobbosouza

i dunno but the config does nothing except for the key & broadcaster property. host either gets overriden or its not used image

Venipa avatar Sep 26 '20 21:09 Venipa