docs: small typo in the "catch-all route" description (#5273)

This commit is contained in:
Maël Quéau 2022-06-03 15:53:30 +02:00 committed by GitHub
parent c1f728ee54
commit f71ef42d50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@ Given the Example above, fetching `/test` with:
### Catch-all route
Catch-all routes are helpful for fallback route handling. For Example, creating a file in the `~/server/api/foo/[...].ts` will register a catch-all route for all requests that do not match any route handler, such as `/api/foo/bar/baz`.
Catch-all routes are helpful for fallback route handling. For example, creating a file named `~/server/api/foo/[...].ts` will register a catch-all route for all requests that do not match any route handler, such as `/api/foo/bar/baz`.
**Examples:**