diff --git a/server.js b/server.js index e06cc5c..54733d2 100644 --- a/server.js +++ b/server.js @@ -25,7 +25,8 @@ app.use(express.static(path.join(__dirname, "public"))); // Set up routes -app.use("/index", routes.index); +app.get("/", routes.index); +app.get("/index", routes.index); app.post("/send", routes.send); app.get("/class", routes.getClassNames); app.post("/class", routes.getClass);