From 8ac636186cf5f704264e7473864c54b3edaf4049 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 21 Nov 2022 21:39:17 +0100 Subject: Added basic games handling --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.js') diff --git a/main.js b/main.js index b4c68b2..c3ab576 100644 --- a/main.js +++ b/main.js @@ -1,7 +1,7 @@ import express from "express"; import helmet from "./middlewares/helmet.js"; -import playRouter from "./routes/play.js"; +import gamesRouter from "./routes/games.js"; import rootRouter from "./routes/root.js"; const app = express(); @@ -11,7 +11,7 @@ app.use(helmet); app.set("views", "./views"); app.set("view engine", "ejs"); -app.use("/play", playRouter); +app.use("/games", gamesRouter); app.use("/static", express.static("static")); app.use("/", rootRouter); -- cgit v1.2.3