mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
wip attachment support
This commit is contained in:
@@ -34,8 +34,10 @@ function index(req, res) {
|
||||
instanceName: config.General ? config.General.instanceName : null,
|
||||
appCssNoteIds: getAppCssNoteIds(),
|
||||
isDev: env.isDev(),
|
||||
isMainWindow: !req.query.extra,
|
||||
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