diff --git a/documentation/docs/01-routing.md b/documentation/docs/01-routing.md index abe8056f1656..54867d0a04d8 100644 --- a/documentation/docs/01-routing.md +++ b/documentation/docs/01-routing.md @@ -92,8 +92,6 @@ The job of a [request handler](/docs/types#sveltejs-kit-requesthandler) is to re - `4xx` — client error - `5xx` — server error -> If `{fallthrough: true}` is returned SvelteKit will [fall through](/docs/routing#advanced-routing-fallthrough-routes) to other routes until something responds, or will respond with a generic 404. - #### Page endpoints If an endpoint has the same filename as a page (except for the extension), the page gets its props from the endpoint — via `fetch` during client-side navigation, or via direct function call during SSR. diff --git a/documentation/docs/03-loading.md b/documentation/docs/03-loading.md index 17718e10d105..57e2a75a8052 100644 --- a/documentation/docs/03-loading.md +++ b/documentation/docs/03-loading.md @@ -30,8 +30,6 @@ As with [endpoints](/docs/routing#endpoints), pages can import [generated types] `load` is similar to `getStaticProps` or `getServerSideProps` in Next.js, except that `load` runs on both the server and the client. In the example above, if a user clicks on a link to this page the data will be fetched from `cms.example.com` without going via our server. -If `load` returns `{fallthrough: true}`, SvelteKit will [fall through](/docs/routing#advanced-routing-fallthrough-routes) to other routes until something responds, or will respond with a generic 404. - SvelteKit's `load` receives an implementation of `fetch`, which has the following special properties: - it has access to cookies on the server diff --git a/documentation/docs/80-migrating.md b/documentation/docs/80-migrating.md index c6912b6ca316..d7193612b777 100644 --- a/documentation/docs/80-migrating.md +++ b/documentation/docs/80-migrating.md @@ -113,7 +113,7 @@ You access them differently in SvelteKit. `stores` is now `getStores`, but in mo #### Routing -Regex routes are no longer supported. Instead, use [fallthrough routes](/docs/routing#advanced-routing-fallthrough-routes). +Regex routes are no longer supported. Instead, use [advanced route matching](/docs/routing#advanced-routing-matching). #### URLs diff --git a/documentation/faq/30-fallthrough.md b/documentation/faq/30-fallthrough.md deleted file mode 100644 index 0bbadb2068e5..000000000000 --- a/documentation/faq/30-fallthrough.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Why am I getting a 404? ---- - -Please make sure you're returning something from your page's `load` function. See the section about [fallthrough routes](/docs/routing#advanced-routing-fallthrough-routes) for more details.