diff options
author | LarsVomMars | 2020-10-07 23:42:34 +0200 |
---|---|---|
committer | LarsVomMars | 2020-10-07 23:42:34 +0200 |
commit | e6626356d90fcc58db1dbfad35211c0b3a103aa7 (patch) | |
tree | 8b599b4c43763e7434f2228ee3fbfe8304775294 /app.js | |
parent | 68b06d4cdd24607cee4f016425c4380aea6d556d (diff) |
User profile boilerplate
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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")); |