we do not fucking care about trailing slash

pull/13/head
kali 2 years ago committed by kali kaneko (leap communications)
parent 68321d51f4
commit e82f8d0814
No known key found for this signature in database
GPG Key ID: 1CAF6C5B9F720808
  1. 1
      server/server.go

@ -32,6 +32,7 @@ func Serve(addr string, l *ldap.Ldap, m *mail.Mail, ldb *db.DB, g *gitea.Gitea)
}
r := mux.NewRouter()
r = r.StrictSlash(true)
var notFoundFunc http.HandlerFunc
notFoundFunc = s.notFoundHandler
r.NotFoundHandler = notFoundFunc

Loading…
Cancel
Save