From ccd7f8e14bcbac154abd987a006e1933d3643895 Mon Sep 17 00:00:00 2001 From: ashley Date: Fri, 31 May 2024 11:41:01 +0000 Subject: [PATCH] im sorry lol --- src/libpoketube/init/pages-static.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpoketube/init/pages-static.js b/src/libpoketube/init/pages-static.js index b9afccd2..9da952a0 100644 --- a/src/libpoketube/init/pages-static.js +++ b/src/libpoketube/init/pages-static.js @@ -214,7 +214,7 @@ app.get("/game-hub", function (req, res) { var gameslist = ["pong", "tic-tac-toe", "sudoku", "snake"]; var requestedGame = req.query.game; - if (!requestedGame || !gameslist.includes(requestedGame)) { + if (!gameslist.includes(requestedGame)) { return renderTemplate(res, req, "404.ejs"); }