Add get gauntlets endpoint

This commit is contained in:
Lncvrt committed 2026-02-19 19:54:11 -07:00
1 parent f10922d0b0
commit 1390199fed
6 files changed
+103 -1

No files matched your search

+14
View File
@@ -1,9 +1,23 @@
import { Elysia } from 'elysia'
import { jsonResponse } from './lib/util'
import { handler as gauntletsGetHandler } from './routes/gauntlets/get'
const app = new Elysia()
app.listen(3692)
app.get('/gauntlets', gauntletsGetHandler)
app.all('*', () =>
jsonResponse(
{
success: false,
message: 'Endpoint not found (are you using the correct request method?)'
},
404
)
)
console.log(
`Geometry Dash API Server started on http://${app.server?.hostname}:${app.server?.port}/`
)