Skip to content

Commit

Permalink
docs(routing): fix grammer (#2763)
Browse files Browse the repository at this point in the history
  • Loading branch information
yooneskh authored Sep 29, 2024
1 parent 908dd7a commit ae40e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/1.guide/2.routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ Nitro allows you to add logic at the top-level for each route of your configurat

It is a map from route pattern (following [unjs/radix3](https://github.com/unjs/radix3#route-matcher)) to route options.

When `cache` option is set, handlers matching pattern will be automatically wrapped with `defineCachedEventHandler`. See the [guide cache](/guide/cache) to learn more about this function.
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.

::note
`swr: true|number` is shortcut for `cache: { swr: true, maxAge: number }`
Expand Down

0 comments on commit ae40e21

Please sign in to comment.