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

Commit ab0ac05

Browse files
authored
The encrypted property was removed on pusher-js 6
the encrypted property was removed in favor of forceTLS one, officially on pusher-js 6.
1 parent c5c1161 commit ab0ac05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/basic-usage/ssl.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ php artisan websockets:serve
4949
## Client configuration
5050

5151
When your SSL settings are in place and working, you still need to tell Laravel Echo that it should make use of it.
52-
You can do this by specifying the `encrypted` property in your JavaScript file, like this:
52+
You can do this by specifying the `forceTLS` property in your JavaScript file, like this:
5353

5454
```js
5555
import Echo from "laravel-echo"
@@ -62,7 +62,7 @@ window.Echo = new Echo({
6262
wsHost: window.location.hostname,
6363
wsPort: 6001,
6464
disableStats: true,
65-
encrypted: true
65+
forceTLS: true
6666
});
6767
```
6868

0 commit comments

Comments
 (0)