aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app.js b/app.js
index f6fb83e..92c4c9f 100644
--- a/app.js
+++ b/app.js
@@ -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);