Skip to content

Commit

Permalink
#22 Fixed index routing
Browse files Browse the repository at this point in the history
  • Loading branch information
dooks committed May 20, 2015
1 parent 4c0f9b9 commit 0111f38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0111f38

Please sign in to comment.