tads4-express/routes/autenticar.js
2024-10-31 21:14:41 -04:00

10 lines
277 B
JavaScript

var express = require('express');
var router = express.Router();
const { autenticar, validarUsuario } = require('../controllers/autenticarController')
/* GET home page. */
router.get('/', autenticar);
router.post('/validar-usuario', validarUsuario);
module.exports = router;