Tweaks to versions endpoint and improve loader update data

This commit is contained in:
2025-11-03 19:51:32 -07:00
parent 567c97f19d
commit a635706b6c
6 changed files with 62 additions and 105 deletions

View File

@@ -31,7 +31,7 @@ const app = new Elysia()
app.get("/launcher/versions", (context) => launcherVersionsHandler(context, db))
app.get("/launcher/latest", () => launcherLatestHandler(db))
app.get("/launcher/loader/latest", launcherLoaderLatestHandler)
app.get("/launcher/loader/update-data", () => launcherLoaderUpdateDataHandler(db))
app.get("/launcher/loader/update-data", (context) => launcherLoaderUpdateDataHandler(context, db))
app.all("*", () => jsonResponse({ message: "No endpoint found (are you using the correct request method?)" }, 404))
app.listen(3342)