Support rebooting workers
This commit is contained in:
@@ -55,6 +55,8 @@ func AttachHandlers(router *chi.Mux, downloader *universal.Downloader, torMgr *t
|
||||
|
||||
router.Get("/", hs.handleHome)
|
||||
router.Get("/reboot/worker", hs.handleRebootWorkerPool)
|
||||
router.Get("/reboot/refresh", hs.handleRebootRefreshPool)
|
||||
router.Get("/reboot/repair", hs.handleRebootRepairPool)
|
||||
// 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