forked from forgejo/forgejo
Fix #495 and cannot view repository by tag
This commit is contained in:
parent
a11ed51bbb
commit
ebb05475ed
7 changed files with 14 additions and 10 deletions
|
@ -355,7 +355,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/*.*", repo.Download)
|
||||
r.Get("/archive/:branchname/*.*", repo.Download)
|
||||
r.Get("/compare/:before([a-z0-9]+)...:after([a-z0-9]+)", repo.CompareDiff)
|
||||
}, ignSignIn, middleware.RepoAssignment(true, true))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue