0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 17:44:15 +01:00

minor regexp fix on #1593

This commit is contained in:
Unknwon 2015-09-07 11:56:06 -04:00
parent 56eb252098
commit 5020576e80

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() {