feat: limit image request
/ publish (push) Successful in 3m9s

This commit is contained in:
2026-03-07 20:26:53 +01:00
parent 2f7ff28c9a
commit fca1030e1a
3 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ func (s *Server) registerOther() (h http.Handler) {
}
_ = resthome.New(mux, page.New(fs))
_ = restimage.New(mux, images.New(fs, valkeyClient))
_ = restimage.New(mux, images.New(fs, valkeyClient, 4))
mux.Handle("/", http.FileServer(http.FS(web.GetStaticFS())))