diff --git a/src/routes/solid-start/building-your-application/api-routes.mdx b/src/routes/solid-start/building-your-application/api-routes.mdx index a1eb079b0..2fb4dfd92 100644 --- a/src/routes/solid-start/building-your-application/api-routes.mdx +++ b/src/routes/solid-start/building-your-application/api-routes.mdx @@ -18,9 +18,9 @@ UI routes export a default Solid component, while API Routes do not. Rather, they export functions that are named after the HTTP method that they handle. :::info -API routes are prioritized over page route alternatives. +API routes are prioritized over UI route alternatives. If you want to have them overlap at the same path remember to use `Accept` headers. -Returning without a response in a `GET` route will fallback to page route handling. +Returning without a response in a `GET` route will fallback to UI route handling. ::: ## Writing an API route