feat: implement Modrinth modpack importer (.mrpack)
This commit is contained in:
1 parent
275c1f2d50
commit
192ec80010
3 files changed
+187
No files matched your search
@@ -46,6 +46,8 @@ func (h *ModpackHandler) ImportModpack(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
imp = importer.NewCurseForgeImporter(storagePath, apiKey)
|
||||
case "modrinth":
|
||||
imp = importer.NewModrinthImporter(storagePath)
|
||||
default:
|
||||
http.Error(w, "Invalid importer type", http.StatusBadRequest)
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user