Add Route to stop and reset the updater (#260)

This commit is contained in:
Sascha Hahne
2021-12-01 20:48:32 +01:00
committed by GitHub
parent 205101568e
commit 76c7bdd604
2 changed files with 24 additions and 0 deletions

View File

@@ -114,6 +114,7 @@ object MangaAPI {
path("update") {
get("recentChapters/{pageNum}", UpdateController::recentChapters)
post("fetch", UpdateController::categoryUpdate)
post("reset", UpdateController.reset)
get("summary", UpdateController::updateSummary)
ws("", UpdateController::categoryUpdateWS)
}