summaryrefslogtreecommitdiff
path: root/hi-ui/svelte.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'hi-ui/svelte.config.js')
-rw-r--r--hi-ui/svelte.config.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/hi-ui/svelte.config.js b/hi-ui/svelte.config.js
index 7f55c59..07e332f 100644
--- a/hi-ui/svelte.config.js
+++ b/hi-ui/svelte.config.js
@@ -1,4 +1,4 @@
-import adapter from '@sveltejs/adapter-auto';
+import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
@@ -7,7 +7,9 @@ const config = {
// 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',
+ }),
},
preprocess: vitePreprocess()
};