mirror of
https://codeberg.org/ashley/poke
synced 2025-04-06 09:38:00 +00:00
add games hub !!
This commit is contained in:
parent
9fe5ad8725
commit
4b9c616765
@ -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) => {
|
app.get("/static/:id", (req, res) => {
|
||||||
const id = req.params.id;
|
const id = req.params.id;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user