Skip to content

Commit 72703f2

Browse files
authored
docs(readme): fix route config link (#274)
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.
1 parent 0cc1aa1 commit 72703f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ fastify.addContentTypeParser('application/xml', (req, done) => {
145145
### config
146146

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

0 commit comments

Comments
 (0)