move to sveltekit 2, fix 404 page returning 500

This commit is contained in:
2025-02-07 12:29:52 +01:00
parent cbb9e831d1
commit 24e977572f
7 changed files with 94 additions and 4271 deletions

View File

@@ -1,6 +1,6 @@
//import adapter from 'svelte-adapter-bun';
import adapter from 'svelte-adapter-bun';
import { vitePreprocess } from '@sveltejs/kit/vite';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
const assets_folder = process.env.NODE_ENV == 'production' ? 'public' : 'static';
process.env.ASSETS_FOLDER = assets_folder;