Fix typo in docs (#2357)

Co-authored-by: Seungwoo Hong <qksn1541@hits.ai>
pull/2365/head
Hong Seungwoo 2023-03-08 23:59:36 +09:00 committed by GitHub
parent 15e9235383
commit c1c119337f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ app.Use([]string{"/api", "/home"}, func(c *fiber.Ctx) error {
})
// Attach multiple handlers
app.Use("/api",func(c *fiber.Ctx) error {
app.Use("/api", func(c *fiber.Ctx) error {
c.Set("X-Custom-Header", random.String(32))
return c.Next()
}, func(c *fiber.Ctx) error {