aboutsummaryrefslogtreecommitdiff
path: root/frontend/svelte.config.js
diff options
context:
space:
mode:
authorzwlucas <lucas.fariamo08@gmail.com>2026-05-29 21:24:59 +0000
committerzwlucas <lucas.fariamo08@gmail.com>2026-05-29 21:24:59 +0000
commitbf8b1d0d49703e82cf8162399405984bd0b3fe88 (patch)
treeaf4ed5fb7feae49cb3ebe1c8c3f87831e53b8273 /frontend/svelte.config.js
parent17b159c563278c3b3b8b3884be37f8d5025ce0c7 (diff)
downloadyaum-bf8b1d0d49703e82cf8162399405984bd0b3fe88.tar.gz
yaum-bf8b1d0d49703e82cf8162399405984bd0b3fe88.zip
feat: implement static file serving and Docker support, update frontend build process
Signed-off-by: zwlucas <lucas.fariamo08@gmail.com>
Diffstat (limited to 'frontend/svelte.config.js')
-rw-r--r--frontend/svelte.config.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/frontend/svelte.config.js b/frontend/svelte.config.js
index fcf06bd..0d48f92 100644
--- a/frontend/svelte.config.js
+++ b/frontend/svelte.config.js
@@ -1,11 +1,13 @@
-import adapter from '@sveltejs/adapter-auto';
+import adapterStatic from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: vitePreprocess(),
kit: {
- adapter: adapter()
+ adapter: adapterStatic({
+ fallback: '200.html'
+ })
}
};