Merge pull request #1189 from lycheeEng/patch-1

fix typo in 5-network/11-websocket/article.md
This commit is contained in:
Ilya Kantor 2019-07-31 10:41:03 +03:00 committed by GitHub
commit 0ebb448d7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
});