diff --git a/tree.go b/tree.go index c48b92e8..4ee67d92 100644 --- a/tree.go +++ b/tree.go @@ -192,7 +192,7 @@ func (n *node) addRoute(path string, handlers HandlersChain) { continue walk } else { // Wildcard conflict - pathSeg := path + pathSeg := path if n.nType != catchAll { pathSeg = strings.SplitN(path, "/", 2)[0] }