mirror of
https://github.com/go-gitea/gitea
synced 2025-07-19 08:48:37 +00:00
zip archive download
This commit is contained in:
1
web.go
1
web.go
@@ -176,6 +176,7 @@ func runWeb(*cli.Context) {
|
||||
r.Get("/commit/:branchname", repo.Diff)
|
||||
r.Get("/commit/:branchname/**", repo.Diff)
|
||||
r.Get("/releases", repo.Releases)
|
||||
r.Get("/archive/:branchname/:reponame.zip", repo.ZipDownload)
|
||||
}, ignSignIn, middleware.RepoAssignment(true, true))
|
||||
|
||||
m.Group("/:username", func(r martini.Router) {
|
||||
|
Reference in New Issue
Block a user