diff options
Diffstat (limited to '')
-rw-r--r-- | main.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |