removed redirect slashes and changed to stripslashses (#3170)
This commit is contained in:
parent
f67ec3cc50
commit
ee99e86b2c
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ func (s Server) Handler() http.Handler {
|
|||
r.Use(middleware.Recoverer)
|
||||
r.Use(middleware.NoCache)
|
||||
r.Use(logger.Middleware)
|
||||
r.Use(middleware.RedirectSlashes)
|
||||
r.Use(middleware.StripSlashes)
|
||||
|
||||
sec := secure.New(s.Options)
|
||||
r.Use(sec.Handler)
|
||||
|
|
Loading…
Reference in a new issue