From 12b0fbe75d018911e33669080a15b5886f864e8b Mon Sep 17 00:00:00 2001 From: Umputun Date: Fri, 15 Jan 2021 16:17:52 -0600 Subject: [PATCH] remove no-cache from /avatar api --- backend/app/rest/api/rest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/rest/api/rest.go b/backend/app/rest/api/rest.go index 84347580..7803fa04 100644 --- a/backend/app/rest/api/rest.go +++ b/backend/app/rest/api/rest.go @@ -219,7 +219,7 @@ func (s *Rest) routes() chi.Router { router.Group(func(r chi.Router) { r.Use(middleware.Timeout(5 * time.Second)) - r.Use(tollbooth_chi.LimitHandler(tollbooth.NewLimiter(100, nil)), middleware.NoCache) + r.Use(tollbooth_chi.LimitHandler(tollbooth.NewLimiter(100, nil))) r.Mount("/avatar", avatarHandler) })