mirror of
https://github.com/go-gitea/gitea
synced 2024-11-21 18:01:01 +01:00
remove code read permission for contributors page
This commit is contained in:
parent
7486f27681
commit
8da7c4ae4e
1 changed files with 1 additions and 1 deletions
|
@ -1446,7 +1446,7 @@ func registerRoutes(m *web.Router) {
|
|||
m.Group("/contributors", func() {
|
||||
m.Get("", repo.Contributors)
|
||||
m.Get("/data", repo.ContributorsData)
|
||||
}, reqRepoCodeReader)
|
||||
})
|
||||
m.Group("/code-frequency", func() {
|
||||
m.Get("", repo.CodeFrequency)
|
||||
m.Get("/data", repo.CodeFrequencyData)
|
||||
|
|
Loading…
Reference in a new issue