Skip to content

Commit

Permalink
fix(docs): add missing comma (#2353)
Browse files Browse the repository at this point in the history
fix: add missing comma

nothing too much but it's a fix :p
  • Loading branch information
CaioAugustoo authored Mar 5, 2023
1 parent a70b861 commit 44fd197
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions middleware/limiter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ app.Use(limiter.New(limiter.Config{
Expiration: 30 * time.Second,
KeyGenerator: func(c *fiber.Ctx) string{
return "key"
}
},
LimitReached: func(c *fiber.Ctx) error {
return c.SendFile("./toofast.html")
},
Storage: myCustomStore{}
Storage: myCustomStore{},
}))
```

Expand Down

0 comments on commit 44fd197

Please sign in to comment.