chore: code clean (#516)

This commit is contained in:
boojack
2022-11-21 23:23:05 +08:00
committed by GitHub
parent 0d0f893b93
commit 013ded1e04
4 changed files with 7 additions and 6 deletions

View File

@@ -66,7 +66,7 @@ func NewServer(profile *profile.Profile) *Server {
publicGroup := e.Group("/o")
s.registerResourcePublicRoutes(publicGroup)
s.registerCrawlerPublicRoutes(publicGroup)
s.registerGetterPublicRoutes(publicGroup)
apiGroup := e.Group("/api")
apiGroup.Use(func(next echo.HandlerFunc) echo.HandlerFunc {