mirror of
https://github.com/ReVanced/revanced-website.git
synced 2026-01-11 05:36:17 +00:00
feat: use adapter-static and prerender everything
This commit is contained in:
@@ -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'
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user