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:
JuanDMeGon 2020-08-01 17:19:57 -05:00 committed by GitHub
parent ab0ac05de7
commit 1fdcaa6a7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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,
}); });
``` ```