From 6323450f9d4c9412de80d9a52cfa46bb7874aa45 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 14 Jan 2024 09:35:00 +0000 Subject: [PATCH] docs(readme): replace `fastify.io` links with `fastify.dev` --- MIGRATION.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MIGRATION.md b/MIGRATION.md index 04163a13..2fb6e5b9 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -21,7 +21,7 @@ Following are the `@fastify/swagger-ui` options: | staticCSP | false | Enable CSP header for static resources. | | transformStaticCSP | undefined | Synchronous function to transform CSP header for static resources if the header has been previously set. | | uiConfig | {} | Configuration options for [Swagger UI](https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/configuration.md). Must be literal values, see [#5710](https://github.com/swagger-api/swagger-ui/issues/5710).| -| uiHooks | {} | Additional hooks for the documentation's routes. You can provide the `onRequest` and `preHandler` hooks with the same [route's options](https://www.fastify.io/docs/latest/Routes/#options) interface.| +| uiHooks | {} | Additional hooks for the documentation's routes. You can provide the `onRequest` and `preHandler` hooks with the same [route's options](https://www.fastify.dev/docs/latest/Routes/#options) interface.| The `baseDir` option is new and is only needed if external spec files should be exposed. `baseDir` option of `@fastify/swagger-ui` should be set to the same