Skip to content

Commit

Permalink
fix gobis raw route
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurHlt committed Mar 13, 2019
1 parent 2e2e61a commit 0f7a94a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func generatePathMatcher(path string) *regexp.Regexp {
case "**":
pathMatcher = regexp.MustCompile(fmt.Sprintf("^%s(/.*)?$", muxRoute))
default:
pathMatcher = regexp.MustCompile(muxRoute)
pathMatcher = regexp.MustCompile(fmt.Sprintf("^%s$", muxRoute))
}
return pathMatcher
}
Expand Down

0 comments on commit 0f7a94a

Please sign in to comment.