Skip to content

feat(api): fw-7456 add CORS support for JSON API endpoints#21

Closed
swkatmask wants to merge 1 commit into
masterfrom
feat/cors-support
Closed

feat(api): fw-7456 add CORS support for JSON API endpoints#21
swkatmask wants to merge 1 commit into
masterfrom
feat/cors-support

Conversation

@swkatmask
Copy link
Copy Markdown

Add Access-Control-Allow-Origin and Access-Control-Allow-Credentials
headers to all JSON API responses, and handle OPTIONS preflight
requests with 204 No Content. This ensures cross-origin requests from
browsers work consistently regardless of CDN cache state.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant