Skip to content

Handle disallowed CORS origins explicitly#5

Merged
jonathanhaaswriter merged 1 commit into
mainfrom
handle-cors-origin-rejections
Jun 5, 2026
Merged

Handle disallowed CORS origins explicitly#5
jonathanhaaswriter merged 1 commit into
mainfrom
handle-cors-origin-rejections

Conversation

@jonathanhaaswriter
Copy link
Copy Markdown
Contributor

Summary

  • return 403 for disallowed CORS origins instead of routing them through the generic 500 handler
  • add API coverage for invalid-origin requests

Validation

  • npm run verify
  • npm run build:web

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