mirror of
https://github.com/gofiber/fiber.git
synced 2025-05-31 11:52:41 +00:00
Fix typo in docs (#2357)
Co-authored-by: Seungwoo Hong <qksn1541@hits.ai>
This commit is contained in:
parent
15e9235383
commit
c1c119337f
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user