feat: add crawler plugin (#492)

* feat: add crawler plugin

* chore: update

* chore: go mod tidy

* chore: update
This commit is contained in:
boojack
2022-11-19 16:58:55 +08:00
committed by GitHub
parent 62f63d4af7
commit 878e0eabc8
8 changed files with 198 additions and 598 deletions

View File

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