cors-deployment
Installation
SKILL.md
Allowed origins (CORS_ORIGINS)
What it is for now
The deployed SPA calls app-api same-origin: appApiUrl: '/api' in
environment.development.ts / environment.production.ts, routed by
CloudFront's /api/* behavior to the app-api ALB. Same-origin is what lets the
BFF Token Handler's __Host- session cookies work, and it means the browser
never makes a cross-origin call to app-api in a deployed environment. It never
calls the AgentCore Runtime at all: app-api proxies chat to it
(apis/app_api/chat/proxy_routes.py).
So the list is less about CORS than its name suggests. It has four live jobs: