@@ -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())))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user