10 lines
277 B
JavaScript
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;
|