- render.yaml: always-on web service `cred402-api` (node runtime, installs dev deps so tsx is present, health check /v1/health) — Render runs the long-lived node:http + SSE server the serverless Vercel deploy can't. - api/server.ts: honor the platform-provided PORT (Render) before CRED402_PORT. - frontend/vercel.json: rewrite /api/*, /v1/*, /graphql → https://cred402-api.onrender.com so the deployed console reaches the backend same-origin (no CORS, no code change). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2 lines
8 B
Plaintext
2 lines
8 B
Plaintext
.vercel
|