diff --git a/handler/web/web.go b/handler/web/web.go index 02708f24..5a6ec40e 100644 --- a/handler/web/web.go +++ b/handler/web/web.go @@ -97,6 +97,7 @@ func (s Server) Handler() http.Handler { r.Use(middleware.Recoverer) r.Use(middleware.NoCache) r.Use(logger.Middleware) + r.Use(middleware.RedirectSlashes) sec := secure.New(s.Options) r.Use(sec.Handler)