Skip to content
This repository was archived by the owner on Oct 6, 2022. It is now read-only.

Conversation

@tim-1108
Copy link

This PR adds a GD-like menu for viewing the levels in a Gauntlet.

It's accessible when clicking on a Gauntlet in the Gauntlets menu, which previously redirected to the search menu (bc Colon was too lazy to add such a menu).
The search menu has not been messed with and it still allows Gauntlets to be shown.

If a Gauntlet is unknown, e.g. a custom one from a private server, it will redirect to the search menu (just like the old days)

@GDColon
Copy link
Owner

GDColon commented May 29, 2022

Oh this is cool! Will have to think about it though, since I find the current system to be a lot more convenient

app.get("/messages", function(req, res) { res.status(200).sendFile(__dirname + "/html/messages.html") })
app.get("/search", function(req, res) { res.status(200).sendFile(__dirname + "/html/filters.html") })
app.get("/search/:text", function(req, res) { res.status(200).sendFile(__dirname + "/html/search.html") })
app.get("/gauntlet/:id", function(req, res) { res.status(200).sendFile(__dirname + "/html/gauntlet.html") })

Check failure

Code scanning / CodeQL

Missing rate limiting

This route handler performs [a file system access](1), but is not rate-limited.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants