mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-26 17:38:52 +01:00
add games hub !!
This commit is contained in:
parent
9fe5ad8725
commit
4b9c616765
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue