Skip to content

Commit

Permalink
docs: fix crawler error
Browse files Browse the repository at this point in the history
  • Loading branch information
Atinux committed Jul 12, 2023
1 parent 1a14a31 commit c5e53cc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/content/3.config.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,11 +318,11 @@ Route options. It is a map from route pattern (following [unjs/radix3](https://g

When `cache` option is set, handlers matching pattern will be automatically wrapped with `defineCachedEventHandler`.

See the [Cache API](/guide/cache) for all available cache options.
See the [Cache API](/guide/cache) for all available cache options.

::alert
`swr: true|number` is shortcut for `cache: { swr: true, maxAge: number }`
::
::alert
`swr: true|number` is shortcut for `cache: { swr: true, maxAge: number }`
::

**Example:**

Expand All @@ -349,7 +349,7 @@ Prerendered options. Any route specified will be fetched during the build and co

Any route that starts with a prefix listed in `ignore` will be ignored.

If `crawlLinks` option is set to `true`, nitro starts with `/` by default (or all routes in `routes` array) and for HTML pages extracts `<a href="">` tags and prerender them as well.
If `crawlLinks` option is set to `true`, nitro starts with `/` by default (or all routes in `routes` array) and for HTML pages extracts `<a>` tags and prerender them as well.

## Directories

Expand Down

0 comments on commit c5e53cc

Please sign in to comment.