Skip to content

Commit 88117b8

Browse files
committed
Echo installation
1 parent 7cb6c86 commit 88117b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Add to your javascript file:
193193
import Echo from 'laravel-echo';
194194
import {broadcaster} from 'laravel-echo-api-gateway';
195195
196-
const echo = new Echo({
196+
window.Echo = new Echo({
197197
broadcaster,
198198
// replace the placeholders
199199
host: 'wss://{api-ip}.execute-api.{region}.amazonaws.com/{stage}',

0 commit comments

Comments
 (0)