feat: implement internal and user security middlewares and refactor route structures to support view and API separation

This commit is contained in:
Giuseppe Raffa
2026-04-04 19:11:29 +02:00
parent 0f511c2cf9
commit 3cd5a84cc1
8 changed files with 83 additions and 42 deletions

View File

@@ -0,0 +1,7 @@
const router = require('express').Router();
router.get('/', userAuth, (req, res) => {
res.render('sessions');
});
module.exports = router;