mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 14:43:52 +03:00
minor regexp fix on #1593
This commit is contained in:
parent
56eb252098
commit
5020576e80
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue