From 2707b72e5a1fef3546a0f54038164261f3392ecd Mon Sep 17 00:00:00 2001 From: ChrisDill Date: Fri, 18 Aug 2023 07:17:26 +0100 Subject: [PATCH] Add 404.html fallback --- svelte.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svelte.config.js b/svelte.config.js index 9ebfafc..2c01568 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -12,7 +12,7 @@ const config = { adapter: adapter({ pages: 'build', assets: 'build', - fallback: null, + fallback: '404.html', precompress: false, strict: true, trailingSlash: 'always'