mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-20 08:02:12 +00:00
fix: dont pre-render
This commit is contained in:
parent
dc456d2749
commit
ad33093ec0
2 changed files with 4 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ import '@fontsource/roboto'
|
|||
import '@/css.css'
|
||||
import '$lib/css.css'
|
||||
|
||||
export const prerender = true
|
||||
export const prerender = false
|
||||
export const csr = true
|
||||
export const trailingSlash = 'always'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,14 @@
|
|||
import adapter from '@sveltejs/adapter-static'
|
||||
import { vitePreprocess } from '@sveltejs/kit/vite'
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
preprocess: vitePreprocess(),
|
||||
kit: {
|
||||
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
|
||||
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
|
||||
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
||||
adapter: adapter()
|
||||
adapter: adapter({ fallback: 'index.html' })
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue