From 8da7c4ae4e0efd6520425fc2766b535388f97f82 Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Mon, 4 Nov 2024 23:54:49 +0000 Subject: [PATCH] remove code read permission for contributors page --- routers/web/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/web/web.go b/routers/web/web.go index 119f450030..dfd9735bbf 100644 --- a/routers/web/web.go +++ b/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)