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
1 changed files with 1 additions and 1 deletions

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)