mirror of
https://github.com/zadam/trilium.git
synced 2024-11-12 18:54:49 +08:00
9 lines
222 B
JavaScript
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;
|