Skip to content

Commit

Permalink
docs: Fix brief 404 page flashing in docs (#194)
Browse files Browse the repository at this point in the history
* docs: Fix brief 404 page

* Update types.md

* fix: Set `trailingSlash` to false

* Update types.md

* fix: Fix more broken links
  • Loading branch information
mrousavy authored Oct 8, 2024
1 parent 2b5899f commit 2bf4e61
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/docs/types/typed-maps.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ For example, if your API returns a map of users with their ages, you _could_ use

:::tip
While typed maps are very efficient, Nitro cannot sufficiently optimize the object as keys are not known in advance.
If possible, **avoid typed maps** and use [arrays](#arrays-t) for unknown number of items, or [strongly typed objects](#custom-types-any-t) for known number of items instead.
If possible, **avoid typed maps** and use [arrays](arrays) for unknown number of items, or [strongly typed objects](custom-types) for known number of items instead.
:::
2 changes: 1 addition & 1 deletion docs/docs/types/untyped-maps.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ An untyped map represents a JSON-like structure with a value that can either be

:::tip
While untyped maps are implemented efficiently, Nitro cannot sufficiently optimize the object as keys and value-types are not known in advance.
If possible, **avoid untyped maps** and use [strongly typed objects](#custom-types-any-t) instead.
If possible, **avoid untyped maps** and use [strongly typed objects](custom-types) instead.
:::
3 changes: 3 additions & 0 deletions docs/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"cleanUrls": true
}

0 comments on commit 2bf4e61

Please sign in to comment.