mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 03:54:22 +00:00
fix normalize routes
This commit is contained in:
@@ -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:
|
||||
|
||||
|
Reference in New Issue
Block a user