Merge pull request #1189 from lycheeEng/patch-1
fix typo in 5-network/11-websocket/article.md
This commit is contained in:
commit
0ebb448d7d
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ const clients = new Set();
|
|||
|
||||
http.createServer((req, res) => {
|
||||
// here we only handle websocket connections
|
||||
// in real project we'd have some other code herre to handle non-websocket requests
|
||||
// in real project we'd have some other code here to handle non-websocket requests
|
||||
wss.handleUpgrade(req, req.socket, Buffer.alloc(0), onSocketConnect);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue