Notes/routes/index.js

10 lines
222 B
JavaScript
Raw Normal View History

const express = require('express');
const router = express.Router();
2017-10-15 19:47:05 -04:00
const auth = require('../services/auth');
2017-10-15 16:32:49 -04:00
router.get('', auth.checkAuth, (req, res, next) => {
2017-10-15 19:10:36 -04:00
res.render('index', {});
});
module.exports = router;