Skip to content

Commit e4e6aac

Browse files
authored
Update api-routes.mdx "Page routes"?
Does this really mean 'page' routes because I don't see 'page' used in other parts of the docs. UI routes render pages so I'm guessing this should say 'UI' instead of 'page'?
1 parent b107a4e commit e4e6aac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/solid-start/building-your-application/api-routes.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ UI routes export a default Solid component, while API Routes do not.
1818
Rather, they export functions that are named after the HTTP method that they handle.
1919

2020
:::info
21-
API routes are prioritized over page route alternatives.
21+
API routes are prioritized over UI route alternatives.
2222
If you want to have them overlap at the same path remember to use `Accept` headers.
23-
Returning without a response in a `GET` route will fallback to page route handling.
23+
Returning without a response in a `GET` route will fallback to UI route handling.
2424
:::
2525

2626
## Writing an API route

0 commit comments

Comments
 (0)