forked from forgejo/forgejo
Fix #186
This commit is contained in:
parent
16e162b669
commit
956f011dd3
7 changed files with 43 additions and 14 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue