mirror of
https://gitee.com/gitea/gitea
synced 2025-11-03 16:10:25 +08:00
Fix #186
This commit is contained in:
@@ -218,6 +218,7 @@ func runWeb(*cli.Context) {
|
||||
r.Get("/commit/:branchname/**", repo.Diff)
|
||||
r.Get("/releases", repo.Releases)
|
||||
r.Get("/archive/:branchname/:reponame.zip", repo.ZipDownload)
|
||||
r.Get("/archive/:branchname/:reponame.tar.gz", repo.TarGzDownload)
|
||||
}, ignSignIn, middleware.RepoAssignment(true, true))
|
||||
|
||||
m.Group("/:username", func(r martini.Router) {
|
||||
|
||||
Reference in New Issue
Block a user