🚀 Auto-deploy: Camila atualizado em 25/05/2026 19:18:12

This commit is contained in:
2026-05-25 19:18:12 +00:00
parent ad15566914
commit 5b64769387
+1 -1
View File
@@ -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);