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;