remove no-cache from /avatar api

This commit is contained in:
Umputun
2021-01-15 16:18:10 -06:00
parent 0dd3cd93ee
commit 12b0fbe75d
+1 -1
View File
@@ -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)
})