feat: use adapter-static and prerender everything

This commit is contained in:
Ax333l
2022-10-26 21:11:53 +02:00
parent 3bac5e0453
commit e7a34c2ae9
7 changed files with 131 additions and 1546 deletions

View File

@@ -1,4 +1,4 @@
import adapter from '@sveltejs/adapter-auto';
import adapter from '@sveltejs/adapter-static';
import preprocess from 'svelte-preprocess';
/** @type {import('@sveltejs/kit').Config} */
@@ -8,7 +8,11 @@ const config = {
preprocess: preprocess(),
kit: {
adapter: adapter()
adapter: adapter({
pages: 'public',
}),
trailingSlash: 'always'
}
};