feat: add CORS support via CORS_ORIGINS env var #1

Merged
hzhang merged 1 commits from feat/cors-support into master 2026-03-11 10:45:59 +00:00
Contributor
  • New CORSMiddleware in server/cors.go
  • Reads comma-separated origins from CORS_ORIGINS env
  • Empty or "*" allows all origins
  • Handles preflight OPTIONS requests
  • Wraps existing LoggingMiddleware chain
- New CORSMiddleware in server/cors.go - Reads comma-separated origins from CORS_ORIGINS env - Empty or "*" allows all origins - Handles preflight OPTIONS requests - Wraps existing LoggingMiddleware chain
hzhang added 1 commit 2026-03-11 10:45:54 +00:00
- New CORSMiddleware in server/cors.go
- Reads comma-separated origins from CORS_ORIGINS env
- Empty or "*" allows all origins
- Handles preflight OPTIONS requests
- Wraps existing LoggingMiddleware chain
hzhang merged commit 8521b83e6d into master 2026-03-11 10:45:59 +00:00
hzhang deleted branch feat/cors-support 2026-03-11 10:45:59 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nav/AbstractWizard#1