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 442ac13..9928e96 100644
--- a/app.js
+++ b/app.js
@@ -7,6 +7,7 @@ const motto = require("./motto");
const mottovote = require("./mottovote");
const quotes = require("./quotes");
const poll = require("./poll");
+const profile = require("./profile");
const app = express();
@@ -32,6 +33,7 @@ app.use("/motto", checkUser, motto);
app.use("/mottovote", checkUser, mottovote);
app.use("/quotes", checkUser, quotes);
app.use("/poll", checkUser, poll);
+app.use("/profile", checkUser, profile);
app.use("/auth", auth);
app.listen(process.env.PORT || 5005, () => console.log("Server started on http://localhost:5005"));