Skip to content

Commit

Permalink
docs(readme): update opts encode -> encoding (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
scragg0x authored and dead-horse committed May 18, 2018
1 parent db193f5 commit d234345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ app.use(async ctx => {
## Options

* **enableTypes**: parser will only parse when request type hits enableTypes, default is `['json', 'form']`.
* **encode**: requested encoding. Default is `utf-8` by `co-body`.
* **encoding**: requested encoding. Default is `utf-8` by `co-body`.
* **formLimit**: limit of the `urlencoded` body. If the body ends up being larger than this limit, a 413 error code is returned. Default is `56kb`.
* **jsonLimit**: limit of the `json` body. Default is `1mb`.
* **textLimit**: limit of the `text` body. Default is `1mb`.
Expand Down

0 comments on commit d234345

Please sign in to comment.