summaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.js4
1 files changed, 2 insertions, 2 deletions
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);