From 5e9f195b9d1fdc7cd7247b57c89bdf1bc6fa7730 Mon Sep 17 00:00:00 2001 From: Dawit <27751688+oneminch@users.noreply.github.com> Date: Tue, 15 Oct 2024 05:05:40 -0400 Subject: [PATCH] docs: update reference to old radix3 link (#2787) --- docs/1.guide/2.routing.md | 2 +- docs/3.config/0.index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/1.guide/2.routing.md b/docs/1.guide/2.routing.md index 5adfbbe6e0..350de4eac7 100644 --- a/docs/1.guide/2.routing.md +++ b/docs/1.guide/2.routing.md @@ -281,7 +281,7 @@ This behaviour can be overridden by some request properties (eg.: `Accept` or `U Nitro allows you to add logic at the top-level for each route of your configuration. It can be used for redirecting, proxying, caching and adding headers to routes. -It is a map from route pattern (following [unjs/radix3](https://github.com/unjs/radix3#route-matcher)) to route options. +It is a map from route pattern (following [unjs/radix3](https://github.com/unjs/rou3/tree/radix3#route-matcher)) to route options. When `cache` option is set, handlers matching pattern will be automatically wrapped with `defineCachedEventHandler`. See the [cache guide](/guide/cache) to learn more about this function. diff --git a/docs/3.config/0.index.md b/docs/3.config/0.index.md index 214397b5fb..8201a9586c 100644 --- a/docs/3.config/0.index.md +++ b/docs/3.config/0.index.md @@ -328,7 +328,7 @@ export default defineNitroErrorHandler((error, event) => { **🧪 Experimental!** -Route options. It is a map from route pattern (following [unjs/radix3](https://github.com/unjs/radix3#route-matcher)) to route options. +Route options. It is a map from route pattern (following [unjs/radix3](https://github.com/unjs/rou3/tree/radix3#route-matcher)) to route options. When `cache` option is set, handlers matching pattern will be automatically wrapped with `defineCachedEventHandler`.