未验证 提交 7ec785f2 编写于 作者: E Eolinker 提交者: GitHub

Merge pull request #20 from Dot-Liu/feature/Feature-fix_alert

fix match uri
......@@ -54,7 +54,7 @@ func MatchURI(requestPath string, matchURI string) (bool, string, []string) {
}
if string(matchURI[len(matchURI)-1]) == "/" {
postfix = true
matchURI = matchURI[:len(requestPath)-1]
matchURI = matchURI[:len(matchURI)-1]
}
requestArray := strings.Split(requestPath, "/")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册