mirror of
https://github.com/httpjamesm/AnonymousOverflow.git
synced 2025-05-16 06:53:03 +00:00
fix: no cache middleware to prevent visual bugs
This commit is contained in:
parent
7ec73f8af8
commit
f9025ff9cc
3 changed files with 14 additions and 1 deletions
1
main.go
1
main.go
|
@ -35,6 +35,7 @@ func main() {
|
|||
r.Static("/static", "./public")
|
||||
|
||||
r.Use(gin.Recovery())
|
||||
r.Use(middleware.NoCacheMiddleware())
|
||||
r.Use(middleware.OptionsMiddleware())
|
||||
r.Use(middleware.Ratelimit())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue