From cd2a0b4b178cf67e55571de84bcdcf2cd6ddc2ce Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Mon, 1 Sep 2025 01:09:45 -0600 Subject: [PATCH] Test --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 68d6957..098149a 100644 --- a/index.js +++ b/index.js @@ -57,6 +57,7 @@ global.checkACL = function(req, perm) { app.use((req, res, next) => { if (req.session.user) return next(); + if (req.path === "/") return next(); if (req.path === '/login' || req.path === '/login/') return next(); if (req.path === '/logout' || req.path === '/logout/') return next(); if (req.path.startsWith('/public/') || req.path === '/favicon.ico' || req.path === '/robots.txt') return next();