Skip to content

Commit

Permalink
docs: fix ws engine error (#2717)
Browse files Browse the repository at this point in the history
  • Loading branch information
thonatos authored and dead-horse committed Jun 21, 2018
1 parent b95a54d commit 7930f04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/source/en/tutorials/socketio.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
```

Expand Down
4 changes: 2 additions & 2 deletions docs/source/zh-cn/tutorials/socketio.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
```

Expand Down

0 comments on commit 7930f04

Please sign in to comment.