18 lines
664 B
JSON
18 lines
664 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": ".output/public",
|
|
"not_found_handling": "single-page-application"
|
|
},
|
|
"observability": {
|
|
"enabled": true
|
|
}
|
|
}
|