changes to prerendering

This commit is contained in:
2025-12-29 14:05:49 +02:00
parent 78d2f3139e
commit 0746799c9b
2 changed files with 5 additions and 2 deletions

View File

@@ -1,2 +1,3 @@
export const prerender = true; export const prerender = true;
export const ssr = false; export const ssr = false;
export const csr = true;

View File

@@ -4,11 +4,13 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
const config = { const config = {
preprocess: vitePreprocess(), preprocess: vitePreprocess(),
kit: { kit: {
adapter: adapter() adapter: adapter({
fallback: 'index.html'
})
}, },
optimizeDeps: { optimizeDeps: {
exclude: ['geolocation'] exclude: ['geolocation']
}, },
}; };
export default config; export default config;