After pusher-js 6 forceTLS is default true
As now since pusher-js 6 the encrypted attribute was removed in favor of forceTLS and it is true by default, so we need to use forceTLS: false, to avoid CORS issues.
This commit is contained in:
parent
ab0ac05de7
commit
1fdcaa6a7b
|
|
@ -111,6 +111,7 @@ window.Echo = new Echo({
|
||||||
key: 'your-pusher-key',
|
key: 'your-pusher-key',
|
||||||
wsHost: window.location.hostname,
|
wsHost: window.location.hostname,
|
||||||
wsPort: 6001,
|
wsPort: 6001,
|
||||||
|
forceTLS: false,
|
||||||
disableStats: true,
|
disableStats: true,
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue