mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
fixed unloading the encrypted page after encryption timeout by simply reloading the app completely plus some unrelated refactorings
This commit is contained in:
@@ -21,8 +21,9 @@ router.get('/:noteId', auth.checkApiAuth, async (req, res, next) => {
|
||||
}
|
||||
|
||||
res.send({
|
||||
'detail': detail,
|
||||
'images': await sql.getResults("select * from images where note_id = ? order by note_offset", [noteId])
|
||||
detail: detail,
|
||||
images: await sql.getResults("select * from images where note_id = ? order by note_offset", [noteId]),
|
||||
loadTime: utils.nowTimestamp()
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user