mirror of
https://codeberg.org/ashley/poke.git
synced 2025-06-07 19:23:03 -04:00
oopsie
This commit is contained in:
parent
4519933c9e
commit
b8ce39698a
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ app.get('/calendar', (req, res) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get("/game-hub", function (req, res) {
|
app.get("/game-hub", function (req, res) {
|
||||||
var gameslist = ["pong", "tic-tac-toe", "sudoku", "snake"];
|
var gameslist = ["pong", "tic-tac-toe", "sudoku", "snake", "breakout", "minesweeper"];
|
||||||
var requestedGame = req.query.game;
|
var requestedGame = req.query.game;
|
||||||
|
|
||||||
if (req.query.game && !gameslist.includes(requestedGame)) {
|
if (req.query.game && !gameslist.includes(requestedGame)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue