mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
use better-sqlite3
This commit is contained in:
@@ -23,7 +23,11 @@ async function exportBranch(req, res) {
|
||||
|
||||
try {
|
||||
if (type === 'subtree' && (format === 'html' || format === 'markdown')) {
|
||||
const start = Date.now();
|
||||
|
||||
await zipExportService.exportToZip(taskContext, branch, format, res);
|
||||
|
||||
console.log("Export took", Date.now() - start, "ms");
|
||||
}
|
||||
else if (type === 'single') {
|
||||
await singleExportService.exportSingleNote(taskContext, branch, format, res);
|
||||
|
||||
Reference in New Issue
Block a user