mirror of
https://codeberg.org/ashley/poke
synced 2026-03-03 10:53:44 +00:00
add games hub !!
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user