mirror of https://github.com/gofiber/fiber.git
fix cache docs error (#1612)
parent
85591e8b45
commit
a6aea1cdc5
|
@ -101,7 +101,7 @@ var ConfigDefault = Config{
|
|||
CacheHeader: "X-Cache",
|
||||
CacheControl: false,
|
||||
KeyGenerator: func(c *fiber.Ctx) string {
|
||||
return c.Path()
|
||||
return utils.CopyString(c.Path())
|
||||
},
|
||||
Storage: nil,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue