The Cloudflare project was created as a Workers Build (the new unified format), so the legacy Pages config (pages_build_output_dir, functions/api/[[path]].ts) does not deploy. Switch to the modern shape: a worker entry point that delegates to the Hono app for /api/* and falls through to the [assets] binding for everything else, with SPA fallback for client-side routes. Build output (apps/web/dist) and bindings (D1, R2, env vars) are unchanged. https://claude.ai/code/session_01TPBqgcSJMppgrpiq7fLywL |
||
|---|---|---|
| apps | ||
| packages/shared | ||
| .editorconfig | ||
| .gitignore | ||
| .npmrc | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| tsconfig.base.json | ||