Stop offering a Windows zip while Create Project 404s.

The packaged FastAPI static mount returned JSON 404 for /project/{id}. Serve the SvelteKit fallback page for client routes, and point README at source until a zip is trustworthy.
This commit is contained in:
Benjiyaya
2026-08-25 20:12:08 +08:00
parent 0e0ee540e0
commit cfc13f4aee
5 changed files with 131 additions and 10 deletions
+1 -3
View File
@@ -1,6 +1,4 @@
import { error } from '@sveltejs/kit';
export const prerender = true;
export const prerender = false;
export const ssr = false;
export function load() {
+3
View File
@@ -10,6 +10,9 @@ const config = {
}),
paths: {
base: '',
// Absolute /_app/... URLs so a document load of /project/12 still
// finds the bundle. adapter-static otherwise emits ./_app on prerendered pages.
relative: false,
},
prerender: {
handleHttpError: ({ path, message }) => {