- Replace Pages Functions with Workers entry (`workers/bootstrap.ts`)
- Add Deploy to Cloudflare button in README
- Integrate `@cloudflare/vite-plugin` for CF dev with HMR
- Integrate `@hono/vite-dev-server` for Node dev with HMR
- `npm run dev` now defaults to CF Workers mode
- Add `run_worker_first = ["/api/*"]` so static assets stay free
- Extract shared Node bootstrap (`server/bootstrap.ts`) for reuse
- Update all docs from Pages to Workers references
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Both entries now throw when BETTER_AUTH_SECRET is absent instead of
silently using a hardcoded dev default. The CF Pages entry was missing
trustedOrigins entirely; it now reads TRUSTED_ORIGINS from env and
shares the same split/trim/filter logic as the Node entry.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>