diff options
Diffstat (limited to 'admin/index.js')
-rw-r--r-- | admin/index.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/admin/index.js b/admin/index.js index f7b7c7b..a67b9f3 100644 --- a/admin/index.js +++ b/admin/index.js @@ -7,7 +7,6 @@ const { checkUser, checkAdmin } = require("../auth"); app.use( "/", (req, res, next) => { - console.log(req.path); if ((req.session.loggedIn && req.session.isAdmin) || req.path.startsWith("/api/votes")) next(); else res.redirect("/"); }, |