From e6626356d90fcc58db1dbfad35211c0b3a103aa7 Mon Sep 17 00:00:00 2001 From: LarsVomMars Date: Wed, 7 Oct 2020 23:42:34 +0200 Subject: User profile boilerplate --- app.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app.js') 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")); -- cgit v1.2.3