Skip to content

Instantly share code, notes, and snippets.

@rodolphonetto
Created December 26, 2018 00:46
Show Gist options
  • Save rodolphonetto/b6c4a05560d89f3a49fdcbe926f9dfa7 to your computer and use it in GitHub Desktop.
Save rodolphonetto/b6c4a05560d89f3a49fdcbe926f9dfa7 to your computer and use it in GitHub Desktop.
const path = require('path')
const express = require('express')
const router = express.Router()
router.get('/usuarios', (req, res, next) => {
res.sendFile(path.join(__dirname, '../', 'views', 'usuarios', 'usuarios.html'))
})
module.exports = router
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment