Your Name
e5da23cea2
test: add CORS middleware tests
Add tests for CORS functionality:
- validateCORSConfig (valid and invalid configs)
- SetCORSConfig (update and validation)
- resolveAllowedOrigin (exact match, wildcard, case insensitive)
- CORS middleware (allow/forbid origins, OPTIONS handling)
Coverage: middleware 36.4% → 37.4%
2026-05-29 21:06:43 +08:00
..
2026-04-18 22:57:44 +08:00
2026-05-29 20:11:26 +08:00
feat: backend core - auth, user, role, permission, device, webhook, monitoring, cache, repository, service, middleware, API handlers
2026-04-02 11:19:50 +08:00
2026-05-29 21:06:43 +08:00
2026-05-28 16:53:33 +08:00
2026-04-18 15:33:12 +08:00
2026-04-18 22:57:44 +08:00
feat: backend core - auth, user, role, permission, device, webhook, monitoring, cache, repository, service, middleware, API handlers
2026-04-02 11:19:50 +08:00
2026-04-07 12:08:16 +08:00
2026-04-18 22:57:44 +08:00
2026-05-28 20:38:34 +08:00
2026-05-28 20:38:34 +08:00
2026-05-28 20:30:24 +08:00
2026-05-28 20:30:24 +08:00
feat: backend core - auth, user, role, permission, device, webhook, monitoring, cache, repository, service, middleware, API handlers
2026-04-02 11:19:50 +08:00
2026-04-17 20:43:50 +08:00
2026-05-28 16:53:33 +08:00
2026-05-29 20:11:26 +08:00
feat: backend core - auth, user, role, permission, device, webhook, monitoring, cache, repository, service, middleware, API handlers
2026-04-02 11:19:50 +08:00
2026-05-29 20:11:26 +08:00
2026-04-07 12:08:16 +08:00