ReadMe port fix
This commit is contained in:
parent
eb77cf139e
commit
55c880a100
@ -83,7 +83,7 @@ class MyChat implements MessageComponentInterface {
|
|||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
// Then some JavaScript in the browser:
|
// Then some JavaScript in the browser:
|
||||||
var conn = new WebSocket('ws://localhost/echo');
|
var conn = new WebSocket('ws://localhost:8080/echo');
|
||||||
conn.onmessage = function(e) { console.log(e.data); };
|
conn.onmessage = function(e) { console.log(e.data); };
|
||||||
conn.send('Hello Me!');
|
conn.send('Hello Me!');
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user