From 88bdd676dd2f7357bffb0b2a06055bf21ef5f17a Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Mon, 2 Sep 2024 10:05:25 +0100 Subject: [PATCH] build: netlify requires fallback page 404.html instead of 200.html so using that instead --- src/{200.html => 404.html} | 0 svelte.config.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/{200.html => 404.html} (100%) diff --git a/src/200.html b/src/404.html similarity index 100% rename from src/200.html rename to src/404.html diff --git a/svelte.config.js b/svelte.config.js index 27eb633..3ab8b56 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -8,7 +8,7 @@ const config = { preprocess: vitePreprocess(), kit: { adapter: adapter({ - fallback: '200.html', + fallback: '404.html', }), }, }