mirror of
https://github.com/simon-ding/polaris.git
synced 2026-06-09 03:27:39 +08:00
add indexer setting
This commit is contained in:
@@ -67,6 +67,7 @@ func (s *Server) Serve() error {
|
||||
indexer.GET("/", HttpHandler(s.GetAllIndexers))
|
||||
indexer.POST("/add", HttpHandler(s.AddTorznabInfo))
|
||||
indexer.POST("/download", HttpHandler(s.SearchAndDownload))
|
||||
indexer.DELETE("/del/:id", HttpHandler(s.DeleteTorznabInfo))
|
||||
}
|
||||
|
||||
downloader := api.Group("/downloader")
|
||||
|
||||
Reference in New Issue
Block a user