mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	note content refactoring, WIP
This commit is contained in:
		| @@ -51,7 +51,7 @@ async function downloadNoteFile(noteId, res) { | ||||
|     res.setHeader('Content-Disposition', utils.getContentDisposition(fileName)); | ||||
|     res.setHeader('Content-Type', note.mime); | ||||
|  | ||||
|     res.send(note.content); | ||||
|     res.send((await note.getNoteContent()).content); | ||||
| } | ||||
|  | ||||
| async function downloadFile(req, res) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user