Skip to content

Commit 5de6d94

Browse files
authoredJan 14, 2024
docs(readme): replace fastify.io links with fastify.dev (#426)
* docs(readme): replace `fastify.io` links with `fastify.dev` * docs(readme): remove `www.` from `fastify.dev` urls
1 parent 1d788e4 commit 5de6d94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ A URL path prefix used to create a virtual mount path for the static directory.
124124
Default: `{}`
125125

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

129129
#### `prefixAvoidTrailingSlash`
130130

@@ -450,7 +450,7 @@ decorators.
450450

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

455455
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:
456456

@@ -475,7 +475,7 @@ This code will send the `index.html` for the paths `docs`, `docs/`, and `docs/in
475475

476476
If an error occurs while trying to send a file, the error will be passed
477477
to Fastify's error handler. You can set a custom error handler with
478-
[`fastify.setErrorHandler()`](https://www.fastify.io/docs/latest/Reference/Server/#seterrorhandler).
478+
[`fastify.setErrorHandler()`](https://fastify.dev/docs/latest/Reference/Server/#seterrorhandler).
479479

480480
### Payload `stream.filename`
481481

0 commit comments

Comments
 (0)
Please sign in to comment.