From 5b6476938724623947a9c2a39335b3c63e7ffcdf Mon Sep 17 00:00:00 2001 From: admtracksteel Date: Mon, 25 May 2026 19:18:12 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Auto-deploy:=20Camila=20atualiza?= =?UTF-8?q?do=20em=2025/05/2026=2019:18:12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 36cebc4..003e63f 100644 --- a/server.js +++ b/server.js @@ -60,7 +60,7 @@ app.post('/api/logout', (req, res) => { // Proteger arquivos estáticos do diretório public exceto o login app.use((req, res, next) => { - if (req.path === '/login' || req.path === '/login.html' || req.path === '/style.css' || req.path.startsWith('/assets/')) { + if (req.path === '/login' || req.path === '/login.html' || req.path === '/login.js' || req.path === '/style.css' || req.path.startsWith('/assets/')) { return next(); } requireAuth(req, res, next);