diff --git a/routes/index.js b/routes/index.js index 020f8c8..e04491b 100644 --- a/routes/index.js +++ b/routes/index.js @@ -2,7 +2,7 @@ const express = require("express"); const router = express.Router(); // Render the game UI -router.get("/", (req, res) => { +router.get("/game", (req, res) => { try { const gameBoard = [" ", " ", " ", " ", " ", " ", " ", " ", " "]; res.render("index", { gameBoard }); @@ -12,4 +12,6 @@ router.get("/", (req, res) => { } }); + + module.exports = router;