mirror of
https://github.com/zadam/trilium.git
synced 2025-03-04 02:53:30 +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;
|