diff --git a/handlers/proxy.go b/handlers/proxy.go index 10106f1..b6e6a1e 100644 --- a/handlers/proxy.go +++ b/handlers/proxy.go @@ -107,8 +107,9 @@ func ProxySite(rulesetPath string) fiber.Handler { return c.SendString(err.Error()) } - c.Set("Content-Type", resp.Header.Get("Content-Type")) - c.Set("Content-Security-Policy", resp.Header.Get("Content-Security-Policy")) + c.Cookie(&fiber.Cookie{}) + c.Set("Content-Type", resp.Header.Get("Content-Type")) + c.Set("Content-Security-Policy", resp.Header.Get("Content-Security-Policy")) return c.SendString(body) }