mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
Use the full Request URL as cache key
This commit is contained in:
@@ -182,7 +182,7 @@ func main() {
|
||||
CacheControl: true,
|
||||
|
||||
KeyGenerator: func(c *fiber.Ctx) string {
|
||||
key := utils.CopyString(c.Path())
|
||||
key := utils.CopyString(c.OriginalURL())
|
||||
for _, cookieName := range session.AllCookieNames {
|
||||
cookieValue := session.GetCookie(c, cookieName)
|
||||
if cookieValue != "" {
|
||||
|
||||
Reference in New Issue
Block a user