krply/internal/api
lakshit verma 9155ea248c
feat(api): add cors middleware with configurable origins
- wrap all routes with CORS, honoring KRPLY_CORS_ORIGINS (default *)
- short-circuit preflight OPTIONS and echo allowed origins
- honor the PORT env var for platform deployments (render etc)
2026-08-06 05:53:41 +05:30
..
server.go feat(api): add cors middleware with configurable origins 2026-08-06 05:53:41 +05:30
server_test.go feat(api): add cors middleware with configurable origins 2026-08-06 05:53:41 +05:30