diff options
Diffstat (limited to 'frontend/svelte.config.js')
| -rw-r--r-- | frontend/svelte.config.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/frontend/svelte.config.js b/frontend/svelte.config.js index fcf06bd..0d48f92 100644 --- a/frontend/svelte.config.js +++ b/frontend/svelte.config.js @@ -1,11 +1,13 @@ -import adapter from '@sveltejs/adapter-auto'; +import adapterStatic from '@sveltejs/adapter-static'; import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; /** @type {import('@sveltejs/kit').Config} */ const config = { preprocess: vitePreprocess(), kit: { - adapter: adapter() + adapter: adapterStatic({ + fallback: '200.html' + }) } }; |