From 26f7edaa242254830765b9868e27ef555b30eee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Mon, 7 Jul 2025 15:01:31 +0800 Subject: [PATCH] feat: remove CleanPath middleware --- internal/http/middleware/middleware.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/http/middleware/middleware.go b/internal/http/middleware/middleware.go index b4ece562..c5880676 100644 --- a/internal/http/middleware/middleware.go +++ b/internal/http/middleware/middleware.go @@ -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,