From ba812e75c59fdc28abc348b5d9c42d60d29995f2 Mon Sep 17 00:00:00 2001 From: Neshura Date: Mon, 20 May 2024 01:57:14 +0200 Subject: [PATCH] Disable prerender --- src/routes/+layout.svelte | 2 ++ src/routes/+layout.ts | 2 +- svelte.config.js | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 18aae60..ef6c2b8 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1 +1,3 @@ + + \ No newline at end of file diff --git a/src/routes/+layout.ts b/src/routes/+layout.ts index c8cacf0..5829b7e 100644 --- a/src/routes/+layout.ts +++ b/src/routes/+layout.ts @@ -1 +1 @@ -export const prerender = true; \ No newline at end of file +export const ssr = false; \ No newline at end of file diff --git a/svelte.config.js b/svelte.config.js index a74796c..1bed903 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -14,7 +14,7 @@ const config = { adapter: adapter({ pages: 'build', assets: 'build', - fallback: undefined, + fallback: 'index.html', precompress: false, strict: true })