diff --git a/api/router/api.go b/api/router/api.go index 8e70e4e7..923ed96f 100644 --- a/api/router/api.go +++ b/api/router/api.go @@ -256,7 +256,6 @@ func NewRouter(config *config.Config, enableSwagger bool) (*gin.Engine, error) { apiGroup.GET("/mirrors", mirrorHandler.Index) mirror := apiGroup.Group("/mirror") - mirror.Use(needAPIKey) { mirror.GET("/sources", msHandler.Index) mirror.POST("/sources", msHandler.Create)