Browse Source

minor regexp fix on #1593

for-closed-social
Unknwon 9 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("/:reponame", func() {
m.Get("", repo.Home)
m.Get("\\.git", repo.Home)
m.Get("\\.git$", repo.Home)
}, ignSignIn, middleware.RepoAssignment(true, true), middleware.RepoRef())
m.Group("/:reponame", func() {

Loading…
Cancel
Save