diff options
author | Marvin Borner | 2020-11-05 20:01:09 +0100 |
---|---|---|
committer | Marvin Borner | 2020-11-05 20:01:09 +0100 |
commit | 50f973d67af54cf52dbdc64e98b33ccd3cd8210e (patch) | |
tree | 27087460ca470fec97f481771b5d6d4950169c8a /app.js | |
parent | c4431482a0aa209e0091b759e4977f2398a20fdc (diff) |
Public vote stats
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ app.use("/mottovote", checkUser, mottovote); app.use("/quotes", checkUser, quotes); // app.use("/poll", checkUser, poll); // app.use("/profile", checkUser, profile); -app.use("/admin", checkAdmin, admin); +app.use("/admin", checkUser, admin); app.use("/auth", auth); app.listen(process.env.PORT || 5005, () => console.log(`Server started on http://localhost:${process.env.PORT}`)); |