trilium/routes/index.js

10 lines
222 B
JavaScript
Raw Normal View History

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