aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorMarvin Borner2020-11-05 20:01:09 +0100
committerMarvin Borner2020-11-05 20:01:09 +0100
commit50f973d67af54cf52dbdc64e98b33ccd3cd8210e (patch)
tree27087460ca470fec97f481771b5d6d4950169c8a /app.js
parentc4431482a0aa209e0091b759e4977f2398a20fdc (diff)
Public vote stats
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index e3e811c..92f4c8b 100644
--- a/app.js
+++ b/app.js
@@ -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}`));