minor regexp fix on #1593

tokarchuk/v1.17
Unknwon 9 years ago
parent 56eb252098
commit 5020576e80
  1. 2
      cmd/web.go

@ -545,7 +545,7 @@ func runWeb(ctx *cli.Context) {
m.Group("/:username", func() { m.Group("/:username", func() {
m.Group("/:reponame", func() { m.Group("/:reponame", func() {
m.Get("", repo.Home) m.Get("", repo.Home)
m.Get("\\.git", repo.Home) m.Get("\\.git$", repo.Home)
}, ignSignIn, middleware.RepoAssignment(true, true), middleware.RepoRef()) }, ignSignIn, middleware.RepoAssignment(true, true), middleware.RepoRef())
m.Group("/:reponame", func() { m.Group("/:reponame", func() {

Loading…
Cancel
Save