Skip to content

Commit

Permalink
console.log eliminado.
Browse files Browse the repository at this point in the history
  • Loading branch information
c3r38r170 committed Apr 18, 2024
1 parent b5a881e commit 17938f9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ app.use((req, res, next) => {
const userRegex = /^\/api\/usuario\/\d+\/(foto|preguntas|posts|respuestas|contrasenia)$/;
// * Esta exp. regular admite las /api/usuario/:DNI/... --> foto, preguntas, posts, respuestas o contrasenia

console.log(req.session,req.path);
if (req.session.usuario) {
next();
return;
Expand Down

0 comments on commit 17938f9

Please sign in to comment.