2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 01:57:19 +08:00

feat: remove CleanPath middleware

This commit is contained in:
2025-07-07 15:01:31 +08:00
parent 26add61117
commit 26f7edaa24

View File

@@ -41,7 +41,6 @@ func (r *Middlewares) Globals(t *gotext.Locale, mux *chi.Mux) []func(http.Handle
return []func(http.Handler) http.Handler{
middleware.Recoverer,
//middleware.SupressNotFound(mux),// bug https://github.com/go-chi/chi/pull/940
middleware.CleanPath,
middleware.StripSlashes,
httplog.RequestLogger(r.log, &httplog.Options{
Level: slog.LevelInfo,