0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-21 22:41:14 +01:00

remove code read permission for contributors page

This commit is contained in:
yp05327 2024-11-04 23:54:49 +00:00
parent 7486f27681
commit 8da7c4ae4e

View file

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