remove code read permission for contributors page

pull/32299/head
yp05327 1 week ago
parent 7486f27681
commit 8da7c4ae4e
  1. 2
      routers/web/web.go

@ -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…
Cancel
Save