aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorLarsVomMars2020-10-07 23:42:34 +0200
committerLarsVomMars2020-10-07 23:42:34 +0200
commite6626356d90fcc58db1dbfad35211c0b3a103aa7 (patch)
tree8b599b4c43763e7434f2228ee3fbfe8304775294 /app.js
parent68b06d4cdd24607cee4f016425c4380aea6d556d (diff)
User profile boilerplate
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 fcb7a8a..79002dd 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(5005, () => console.log("Server started on http://localhost:5005"));