fixing trailing slash in url bug
This commit is contained in:
parent
1e1ab2d04d
commit
914c3561cb
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue