Browse Source

minor regexp fix on #1593

tags/v1.21.12.1
Unknwon 10 years ago
parent
commit
5020576e80
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cmd/web.go

+ 1
- 1
cmd/web.go View File

@@ -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