From e871392d04b5368edd6d6e45a277e1a43bcc4a2d Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Mon, 16 May 2022 14:09:44 -0400 Subject: [PATCH] clarify that the fallback page is created by SvelteKit - closes #3413 --- .changeset/wise-houses-work.md | 5 +++++ packages/adapter-static/README.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/wise-houses-work.md diff --git a/.changeset/wise-houses-work.md b/.changeset/wise-houses-work.md new file mode 100644 index 000000000000..b3f075ac8b97 --- /dev/null +++ b/.changeset/wise-houses-work.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/adapter-static': patch +--- + +Tweak fallback page README diff --git a/packages/adapter-static/README.md b/packages/adapter-static/README.md index e1feb3f71974..9644e0e110ed 100644 --- a/packages/adapter-static/README.md +++ b/packages/adapter-static/README.md @@ -54,7 +54,7 @@ You can use `adapter-static` to create a single-page app or SPA by specifying a > In most situations this is not recommended: it harms SEO, tends to slow down perceived performance, and makes your app inaccessible to users if JavaScript fails or is disabled (which happens [more often than you probably think](https://kryogenix.org/code/browser/everyonehasjs.html)). -The fallback page is a blank HTML page that loads your SvelteKit app and navigates to the correct route. For example [Surge](https://surge.sh/help/adding-a-200-page-for-client-side-routing), a static web host, lets you add a `200.html` file that will handle any requests that don't otherwise match. We can create that file like so: +The fallback page is an HTML page created by SvelteKit that loads your app and navigates to the correct route. For example [Surge](https://surge.sh/help/adding-a-200-page-for-client-side-routing), a static web host, lets you add a `200.html` file that will handle any requests that don't otherwise match. We can create that file like so: ```js // svelte.config.js