1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00
This commit is contained in:
Unknown
2014-05-16 13:41:08 -04:00
parent 16e162b669
commit 956f011dd3
7 changed files with 43 additions and 14 deletions

View File

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