mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
navigation state is more nicely and completely serialized into URL
This commit is contained in:
@@ -35,9 +35,6 @@ function index(req, res) {
|
||||
appCssNoteIds: getAppCssNoteIds(),
|
||||
isDev: env.isDev(),
|
||||
isMainWindow: !req.query.extraWindow,
|
||||
extraHoistedNoteId: req.query.extraHoistedNoteId,
|
||||
// make sure only valid JSON gets rendered
|
||||
extraViewScope: JSON.stringify(req.query.extraViewScope ? JSON.parse(req.query.extraViewScope) : {}),
|
||||
isProtectedSessionAvailable: protectedSessionService.isProtectedSessionAvailable(),
|
||||
maxContentWidth: parseInt(options.maxContentWidth),
|
||||
triliumVersion: packageJson.version,
|
||||
|
||||
Reference in New Issue
Block a user