From 09956d42fa32e313bb761ed5fbf0e4ecd253d59f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E6=AC=A7?= Date: Wed, 20 Feb 2019 16:23:38 +0800 Subject: [PATCH] Update tree.go --- tree.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] }