Files
gig-admin/wrangler.jsonc
kongkx 848de4e309
Some checks failed
CI / Typecheck, test & build (push) Failing after 2m3s
CI / Deploy to Cloudflare Workers (push) Has been skipped
fix CI SPA prerender build
2026-08-31 01:22:01 +08:00

18 lines
661 B
JSON

{
"$schema": "./node_modules/wrangler/config-schema.json",
"name": "gig-admin",
"compatibility_date": "2026-07-15",
// Assets-only Worker: gig-admin is a client-rendered SPA (see vite.config.ts
// `spa: { enabled: true }`), so there is no server to run — Cloudflare just
// serves the static build and falls back to the SPA shell for client routes.
// `pnpm cf:build` copies the TanStack Start shell to index.html, which
// `single-page-application` handling serves for any non-asset request.
"assets": {
"directory": "dist/client",
"not_found_handling": "single-page-application"
},
"observability": {
"enabled": true
}
}