Skip to content

Commit

Permalink
docs(server-routes): typo (#2808)
Browse files Browse the repository at this point in the history
  • Loading branch information
iiio2 authored Oct 24, 2024
1 parent 14b4891 commit e3a2d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/1.guide/2.routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ You can use the [utilities available in H3](https://h3.unjs.io/guide/event-handl

The way errors are sent back to the client depends on the route's path. For most routes `Content-Type` is set to `text/html` by default and a simple html error page is delievered. If the route starts with `/api/` (either because it is placed in `api/` or `routes/api/`) the default will change to `application/json` and a JSON object will be sent.

This behaviour can be overridden by some request properties (eg.: `Accept` or `User-Agent` headers).
This behaviour can be overridden by some request properties (e.g.: `Accept` or `User-Agent` headers).

## Route Rules

Expand Down

0 comments on commit e3a2d6f

Please sign in to comment.