fix typo in 5-network/11-websocket/article.md

This commit is contained in:
LycheeEng 2019-07-30 18:03:53 +08:00 committed by GitHub
parent 7cc7dbb490
commit 1b8dd82bba
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);
});