Complexity Score: 100
Description
Allow Vercel preview deployments to call the backend safely without widening CORS too much.
Requirements
- Support an allowlist-based CORS config for preview + production frontends.
- Keep sensitive/admin endpoints protected regardless of CORS.
- Add tests for expected allow/deny behavior.
Complexity Score: 100
Description
Allow Vercel preview deployments to call the backend safely without widening CORS too much.
Requirements