From c9e5512badf472fd38e1f20ceb581a9cad7728ca Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Tue, 16 Jan 2024 08:26:41 +0000 Subject: [PATCH] docs(migration): fix broken link Signed-off-by: Frazer Smith --- MIGRATION.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MIGRATION.md b/MIGRATION.md index eb4890ba..f0b79ce1 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://fastify.dev/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://fastify.dev/docs/latest/Reference/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