Remove reboot for unrebootable pools

This commit is contained in:
Ben Sarmiento
2024-01-28 21:38:22 +01:00
parent 573cfa1436
commit 4ff88372bc
3 changed files with 2 additions and 22 deletions

View File

@@ -55,8 +55,6 @@ 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)