ReadMe port fix
This commit is contained in:
parent
eb77cf139e
commit
55c880a100
@ -83,7 +83,7 @@ class MyChat implements MessageComponentInterface {
|
||||
|
||||
```javascript
|
||||
// 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.send('Hello Me!');
|
||||
```
|
Loading…
Reference in New Issue
Block a user