Skip to content

Commit

Permalink
Remove only API key auth for mirrors (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
pulltheflower authored Sep 26, 2024
1 parent d9fec74 commit 3f46e78
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/router/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,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)
Expand Down

0 comments on commit 3f46e78

Please sign in to comment.