Skip to content

Commit 3a30b3d

Browse files
Updating the docs to reflect the actual implementation (#10276)
1 parent 413b069 commit 3a30b3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: broadcasting.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ window.Echo = new Echo({
186186
broadcaster: 'reverb',
187187
key: import.meta.env.VITE_REVERB_APP_KEY,
188188
wsHost: import.meta.env.VITE_REVERB_HOST,
189-
wsPort: import.meta.env.VITE_REVERB_PORT,
190-
wssPort: import.meta.env.VITE_REVERB_PORT,
189+
wsPort: import.meta.env.VITE_REVERB_PORT ?? 80,
190+
wssPort: import.meta.env.VITE_REVERB_PORT ?? 443,
191191
forceTLS: (import.meta.env.VITE_REVERB_SCHEME ?? 'https') === 'https',
192192
enabledTransports: ['ws', 'wss'],
193193
});

0 commit comments

Comments
 (0)