feat: add modpack update functionality

This commit is contained in:
2026-01-06 19:17:18 +03:00
parent 1cdfe9fefc
commit 2dcb1e7735
3 changed files with 260 additions and 0 deletions

View File

@@ -134,7 +134,9 @@ func main() {
})
r.Route("/modpacks", func(r chi.Router) {
r.Get("/", modpackHandler.GetModpacks)
r.Post("/import", modpackHandler.ImportModpack)
r.Post("/update", modpackHandler.UpdateModpack)
r.Get("/versions", modpackHandler.GetModpackVersions)
})