trilium/routes/index.js
2017-10-15 19:47:05 -04:00

9 lines
222 B
JavaScript

const express = require('express');
const router = express.Router();
const auth = require('../services/auth');
router.get('', auth.checkAuth, (req, res, next) => {
res.render('index', {});
});
module.exports = router;