1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2025-01-31 01:13:29 -05:00

add games hub !!

This commit is contained in:
Ashley 2024-01-06 20:22:23 +00:00
parent 9fe5ad8725
commit 4b9c616765

View file

@ -133,6 +133,13 @@ module.exports = function (app, config, renderTemplate) {
}
});
app.get("/game-hub", function (req, res) {
renderTemplate(res, req, "gamehub.ejs", {
game:req.query.game
});
});
app.get("/static/:id", (req, res) => {
const id = req.params.id;