Add a redirect back to the Gitea page if at /

This commit is contained in:
Lncvrt committed 2026-02-20 10:53:09 -07:00
1 parent 28024ce6f0
commit 3c3139cc65
1 file changed
+8
+8
View File
@@ -55,6 +55,14 @@ app.get(
})
}
)
app.get(
'/',
() =>
new Response(null, {
status: 301,
headers: { Location: 'https://git.lncvrt.xyz/Geometry-Dash-RE/gd-api' }
})
)
app.all('*', () =>
jsonResponse(
{