aboutsummaryrefslogtreecommitdiff
path: root/svelte.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'svelte.config.js')
-rw-r--r--svelte.config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/svelte.config.js b/svelte.config.js
index eec59a1..1652cf6 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -2,9 +2,11 @@ import adapter from '@sveltejs/adapter-static';
/** @type {import('@sveltejs/kit').Config} */
const config = {
- adapter: adapter(),
kit: {
// hydrate the <div id="svelte"> element in src/app.html
+ adapter: adapter({
+ fallback: 'index.html'
+ }),
target: '#svelte'
}
};