nuxt-community / laravel-echo-module

Laravel Echo for Nuxt 2
MIT License
86 stars 31 forks source link

How to configure using custom pusher server ? #18

Open kszyrvercobrador opened 4 years ago

kszyrvercobrador commented 4 years ago

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'
    }
  }
}
ricardogobbosouza commented 4 years ago

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

Venipa commented 3 years ago

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