Dump torrents job
This commit is contained in:
@@ -54,6 +54,7 @@ func AttachHandlers(router *chi.Mux, downloader *universal.Downloader, torMgr *t
|
||||
router.Post("/reboot/refresh", hs.handleRebootRefreshWorker)
|
||||
router.Post("/reboot/repair", hs.handleRebootRepairWorker)
|
||||
router.Post("/remount/downloads", hs.handleRemountDownloads)
|
||||
router.Post("/dump/torrents", hs.handleDumpTorrents)
|
||||
// version
|
||||
router.Get(fmt.Sprintf("/{mountType}/%s", version.FILE), hs.handleVersionFile)
|
||||
router.Head(fmt.Sprintf("/{mountType}/%s", version.FILE), hs.handleCheckVersionFile)
|
||||
|
||||
Reference in New Issue
Block a user