We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b5fd53 commit 7a3f4e8Copy full SHA for 7a3f4e8
api/github.go
@@ -14,7 +14,7 @@ type GitHubGateway struct {
14
}
15
16
var pathRegexp = regexp.MustCompile("^/github/?")
17
-var allowedRegexp = regexp.MustCompile("^/github/(git|contents|pulls|branches)/")
+var allowedRegexp = regexp.MustCompile("^/github/(git|contents|pulls|branches)/?")
18
19
func NewGitHubGateway() *GitHubGateway {
20
return &GitHubGateway{
0 commit comments