Skip to content

Commit

Permalink
docs(readme): replace fastify.io links with fastify.dev (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Jan 13, 2024
1 parent e6f6124 commit 1d788e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ A URL path prefix used to create a virtual mount path for the static directory.
Default: `{}`

Constraints that will be added to registered routes. See Fastify's documentation for
[route constraints](https://www.fastify.io/docs/latest/Reference/Routes/#constraints).
[route constraints](https://www.fastify.dev/docs/latest/Reference/Routes/#constraints).

#### `prefixAvoidTrailingSlash`

Expand Down Expand Up @@ -450,7 +450,7 @@ decorators.

If a request matches the URL `prefix` but a file cannot be found for the
request, Fastify's 404 handler will be called. You can set a custom 404
handler with [`fastify.setNotFoundHandler()`](https://www.fastify.io/docs/latest/Reference/Server/#setnotfoundhandler).
handler with [`fastify.setNotFoundHandler()`](https://www.fastify.dev/docs/latest/Reference/Server/#setnotfoundhandler).

When registering `@fastify/static` within an encapsulated context, the `wildcard` option may need to be set to `false` in order to support index resolution and nested not-found-handler:

Expand Down

0 comments on commit 1d788e4

Please sign in to comment.