mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
server side encryption WIP
This commit is contained in:
@@ -3,11 +3,12 @@
|
||||
const express = require('express');
|
||||
const router = express.Router();
|
||||
const auth = require('../services/auth');
|
||||
const migration = require('../services/migration');
|
||||
const sql = require('../services/sql');
|
||||
const utils = require('../services/utils');
|
||||
|
||||
router.get('', auth.checkAuth, async (req, res, next) => {
|
||||
res.render('index', {});
|
||||
res.render('index', {
|
||||
browserId: utils.randomString(12)
|
||||
});
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
|
||||
Reference in New Issue
Block a user