Skip to content

Commit 220958c

Browse files
Merge branch 'main' into improve-quick-start
2 parents 08116da + 6f46659 commit 220958c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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

src/routes/solid-start/reference/server/use-server.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const logHello = async (message: string) => {
4040
logHello("Hello");
4141
```
4242

43-
In both of these examples, the `logHello` function, it would only show in the server console regardless of whether rendering was on the server or in the browser.
43+
In both examples, the `logHello` function will only show in the server console, regardless of whether rendering was on the server or in the browser.
4444

4545
## Usage with Data APIs
4646

0 commit comments

Comments
 (0)