trilium/node/routes/app.js

10 lines
211 B
JavaScript
Raw Normal View History

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