fix normalize routes

This commit is contained in:
Brad Rydzewski 2016-04-12 10:14:10 -07:00
parent d635097105
commit 42d6d8d3b2

View file

@ -178,7 +178,7 @@ func normalize(h http.Handler) http.Handler {
parts := strings.Split(r.URL.Path, "/")[1:]
switch parts[0] {
case "settings", "slash", "repos", "api", "login", "logout", "", "authorize", "hook", "static", "gitlab":
case "settings", "bots", "repos", "api", "login", "logout", "", "authorize", "hook", "static", "gitlab":
// no-op
default: