Skip to content

Commit

Permalink
docs(readme): fix route config link (#274)
Browse files Browse the repository at this point in the history
The route config link still points to document for fastify 2.1.x.

This MR modifies the link to 4.8.x (since there is no link for major version `4.x`). It's slightly better than just pointing to `latest` as this plugin might not be compatible with the future fastify version (e.g. v5) right away.
  • Loading branch information
wtchangdm committed Oct 13, 2022
1 parent 0cc1aa1 commit 72703f2
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 @@ -145,7 +145,7 @@ fastify.addContentTypeParser('application/xml', (req, done) => {
### config

An object accessible within the `preHandler` via `reply.context.config`.
See [Config](https://www.fastify.io/docs/v2.1.x/Routes/#config) in the Fastify
See [Config](https://www.fastify.io/docs/v4.8.x/Reference/Routes/#config) in the Fastify
documentation for information on this option. Note: this is merged with other
configuration passed to the route.

Expand Down

0 comments on commit 72703f2

Please sign in to comment.