fix(goong): add Cross-Origin-Resource-Policy header to proxy response
All checks were successful
Build and Release / release (push) Successful in 1m32s

This commit is contained in:
2026-05-20 15:45:51 +07:00
parent 5fe3025c72
commit e41855e538

View File

@@ -84,6 +84,7 @@ func (ctrl *goongController) Proxy(c fiber.Ctx) error {
} }
c.Set("Vary", "Origin") c.Set("Vary", "Origin")
c.Set("Cross-Origin-Resource-Policy", "cross-origin")
if c.Method() == "GET" { if c.Method() == "GET" {
if statusCode == fiber.StatusOK || statusCode == fiber.StatusNotModified { if statusCode == fiber.StatusOK || statusCode == fiber.StatusNotModified {