From 5fd61fec33cfb12c1433ab53dc1c33dd87237305 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sat, 13 Jan 2024 15:18:43 +0000 Subject: [PATCH] docs(readme): replace `fastify.io` links with `fastify.dev` Signed-off-by: Frazer Smith --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d8cb429..4312aca 100644 --- a/README.md +++ b/README.md @@ -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` @@ -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: