1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 07:14:40 -05:00

im sorry lol

This commit is contained in:
ashley 2024-05-31 11:41:01 +00:00
parent 8203cc8f81
commit ccd7f8e14b

View file

@ -214,7 +214,7 @@ app.get("/game-hub", function (req, res) {
var gameslist = ["pong", "tic-tac-toe", "sudoku", "snake"]; var gameslist = ["pong", "tic-tac-toe", "sudoku", "snake"];
var requestedGame = req.query.game; var requestedGame = req.query.game;
if (!requestedGame || !gameslist.includes(requestedGame)) { if (!gameslist.includes(requestedGame)) {
return renderTemplate(res, req, "404.ejs"); return renderTemplate(res, req, "404.ejs");
} }