From 4b9c616765585097d02037e86a7a9d3cbe356e5a Mon Sep 17 00:00:00 2001 From: Ashley Date: Sat, 6 Jan 2024 20:22:23 +0000 Subject: [PATCH] add games hub !! --- src/libpoketube/init/pages-static.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/libpoketube/init/pages-static.js b/src/libpoketube/init/pages-static.js index 243d82ab..0ccf30a9 100644 --- a/src/libpoketube/init/pages-static.js +++ b/src/libpoketube/init/pages-static.js @@ -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;