use cookie method to empty cookie header
This commit is contained in:
@@ -90,7 +90,7 @@ func ProxySite(c *fiber.Ctx) error {
|
||||
return c.SendString(err.Error())
|
||||
}
|
||||
|
||||
c.Set("Cookie", "")
|
||||
c.Cookie(&fiber.Cookie{})
|
||||
c.Set("Content-Type", resp.Header.Get("Content-Type"))
|
||||
c.Set("Content-Security-Policy", resp.Header.Get("Content-Security-Policy"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user