Skip to content

Commit

Permalink
Fix link to the body limit (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostd authored Sep 14, 2022
1 parent 29707e5 commit e74a89d
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 @@ -57,7 +57,7 @@ before returning an error. If the limit is exceeded, a `500` error will be
returned immediately. When set to `undefined` the limit will be set to whatever
is configured on the parent Fastify instance. The default value is
whatever is configured in
[fastify](https://github.com/fastify/fastify/blob/master/docs/Factory.md#bodylimit)
[fastify](https://github.com/fastify/fastify/blob/main/docs/Reference/Server.md#bodylimit)
(`1048576` by default).
+ `parser`: The default parser used is the querystring.parse built-in. You can change this default by passing a parser function e.g. `fastify.register(require('@fastify/formbody'), { parser: str => myParser(str) })`

Expand Down

0 comments on commit e74a89d

Please sign in to comment.