鏡像自
https://github.com/go-gitea/gitea.git
synced 2024-08-31 17:54:57 +02:00
minor regexp fix on #1593
This commit is contained in:
父節點
56eb252098
當前提交
5020576e80
@ -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() {
|
||||
|
載入中…
新增問題並參考
Block a user