Add a /tasks endpoing and extra metdata to crawl tasks
This commit is contained in:
@@ -306,6 +306,7 @@ func (s *Server) initRoutes() {
|
||||
s.router.POST("/chpasswd", s.NewPasswordHandler())
|
||||
|
||||
// Task State
|
||||
s.router.GET("/tasks", s.TasksHandler())
|
||||
s.router.GET("/task/:uuid", s.TaskHandler())
|
||||
|
||||
s.router.GET("/add", s.AddHandler())
|
||||
|
||||
Reference in New Issue
Block a user