Skip to content

Commit

Permalink
docs: fix typo of socket.io (#3895)
Browse files Browse the repository at this point in the history
  • Loading branch information
lqzhgood authored and atian25 committed Aug 26, 2019
1 parent a9d0cf5 commit 17b22c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/zh-cn/tutorials/socketio.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ const tick = (id, msg) => {
module.exports = app => {
return async (ctx, next) => {
if (true) {
ctx.socket.disconnet();
ctx.socket.disconnect();
return;
}
await next();
Expand Down

0 comments on commit 17b22c8

Please sign in to comment.