From e4e6aac20573d24726b77e3f5adc0f9d7ed036e5 Mon Sep 17 00:00:00 2001 From: klequis Date: Sun, 18 May 2025 17:23:08 -0700 Subject: [PATCH] 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'? --- .../solid-start/building-your-application/api-routes.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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