Fix typo in docs (#2357)

Co-authored-by: Seungwoo Hong <qksn1541@hits.ai>
This commit is contained in:
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

View File

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