summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-16 13:41:08 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-16 13:41:08 -0400
commit956f011dd3cb09d78f4cb2fb09b1cb4f50d23473 (patch)
treeb13150bdc2b3cca0a83d717b7622c6017d78b9c7 /cmd
parent16e162b669c339cae07fc3844ae5a40295f6339c (diff)
downloadgitea-956f011dd3cb09d78f4cb2fb09b1cb4f50d23473.tar.gz
gitea-956f011dd3cb09d78f4cb2fb09b1cb4f50d23473.zip
Fix #186
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 5a0bd167e1..2eeca9fa31 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -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) {