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

Commit 7925089

Browse files
authored
Merge pull request #435 from JuanDMeGon/master
Required changes after pusher-js v6
2 parents c5c1161 + 1fdcaa6 commit 7925089

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
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
```

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)