build: switch to adapter-static for self-hosting

This commit is contained in:
Lewis Wynne 2026-04-07 17:11:51 +01:00
parent 01deb98111
commit a0060ca4bb
3 changed files with 16 additions and 2 deletions

View file

@ -1,9 +1,11 @@
import adapter from '@sveltejs/adapter-auto';
import adapter from '@sveltejs/adapter-static';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
adapter: adapter()
adapter: adapter({
fallback: 'index.html'
})
}
};