diff options
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -12,6 +12,7 @@ const poll = require("./poll"); const profile = require("./profile"); const admin = require("./admin"); const questions = require("./questions"); +const prediction = require("./prediction"); const app = express(); @@ -39,6 +40,7 @@ app.use("/quotes", checkUser, quotes); app.use("/poll", checkUser, poll); app.use("/profile", checkUser, profile); app.use("/questions", checkUser, questions); +app.use("/prediction", checkUser, prediction); app.use("/admin", checkAdmin, admin); // Lel app.use("/auth", auth); |