diff --git a/docs/source/en/tutorials/socketio.md b/docs/source/en/tutorials/socketio.md index 5dc8906721..f09d06433d 100644 --- a/docs/source/en/tutorials/socketio.md +++ b/docs/source/en/tutorials/socketio.md @@ -50,14 +50,14 @@ exports.io = { > Namespaces are `/` and `/ example`, not`example` -** uws: ** +**uws:** -If you want to use [uws] instead of the default `us` you can do the following configuration +If you want to use [uws] instead of the default `ws` you can do the following configuration ```js // {app_root} / config / config. $ {env} .js exports.io = { - init: { wsEngine: 'uws' } // default: us + init: { wsEngine: 'uws' } // default: ws }; ``` diff --git a/docs/source/zh-cn/tutorials/socketio.md b/docs/source/zh-cn/tutorials/socketio.md index 7ccbee2b4c..076c77206b 100644 --- a/docs/source/zh-cn/tutorials/socketio.md +++ b/docs/source/zh-cn/tutorials/socketio.md @@ -53,12 +53,12 @@ exports.io = { **uws:** -如果想要使用 [uws] 替代默认的 `us` 可以做如下配置 +如果想要使用 [uws] 替代默认的 `ws` 可以做如下配置 ```js // {app_root}/config/config.${env}.js exports.io = { - init: { wsEngine: 'uws' }, // default: us + init: { wsEngine: 'uws' }, // default: ws }; ```