Skip to content

Commit

Permalink
[docs] fix typo in fallthrough routes (#4028)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbridge committed Feb 21, 2022
1 parent 827d162 commit fd843d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/docs/01-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ src/routes/[...catchall].svelte

#### Fallthrough routes

In rare cases, the ordering above might not be want you want for a given path. For example, perhaps `/foo-abc` should resolve to `src/routes/foo-[bar].svelte`, but `/foo-def` should resolve to `src/routes/[b].svelte`.
In rare cases, the ordering above might not be what you want for a given path. For example, perhaps `/foo-abc` should resolve to `src/routes/foo-[bar].svelte`, but `/foo-def` should resolve to `src/routes/[b].svelte`.

Higher priority routes can _fall through_ to lower priority routes by returning `{ fallthrough: true }`, either from `load` (for pages) or a request handler (for endpoints):

Expand Down

0 comments on commit fd843d0

Please sign in to comment.