fix(api): drop dead per-handler CORS headers

This commit is contained in:
2026-11-23 14:26:17 +00:00
parent 262771d224
commit 1256756057
7 changed files with 70 additions and 31 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ func apiOriginGuard(allowed []string) fiber.Handler {
err := c.Next()
// Handlers set a wildcard grant; replace it with the allowlist decision.
// Drop any grant a handler or upstream set; the allowlist decides.
c.Response().Header.Del(headerACAllowOrigin)
c.Response().Header.Del(headerACAllowMethods)
c.Response().Header.Del(headerACAllowHeaders)