mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
protected session is now global application state to avoid weird issues with multiple tabs/windows/reloads
This commit is contained in:
@@ -93,7 +93,6 @@ function route(method, path, middleware, routeHandler, resultHandler, transactio
|
||||
cls.set('sourceId', req.headers['trilium-source-id']);
|
||||
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