mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
WIP per-tab hoisting
This commit is contained in:
@@ -88,7 +88,8 @@ function route(method, path, middleware, routeHandler, resultHandler, transactio
|
||||
|
||||
const result = cls.init(() => {
|
||||
cls.set('sourceId', req.headers['trilium-source-id']);
|
||||
cls.set('localNowDateTime', req.headers['`trilium-local-now-datetime`']);
|
||||
cls.set('localNowDateTime', req.headers['trilium-local-now-datetime']);
|
||||
cls.set('hoistedNoteId', req.headers['trilium-hoisted-note-id'] || 'root');
|
||||
protectedSessionService.setProtectedSessionId(req);
|
||||
|
||||
const cb = () => routeHandler(req, res, next);
|
||||
|
||||
Reference in New Issue
Block a user