Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 1fdcaa6

Browse files
authored
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.
1 parent ab0ac05 commit 1fdcaa6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/basic-usage/pusher.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ window.Echo = new Echo({
111111
key: 'your-pusher-key',
112112
wsHost: window.location.hostname,
113113
wsPort: 6001,
114+
forceTLS: false,
114115
disableStats: true,
115116
});
116117
```

0 commit comments

Comments
 (0)