mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-24 22:19:02 -06:00
fix export in electron (auth problem)
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
function exportSubTree(noteId) {
|
||||
const url = getHost() + "/api/export/" + noteId;
|
||||
const url = getHost() + "/api/export/" + noteId + "?protectedSessionId="
|
||||
+ encodeURIComponent(protected_session.getProtectedSessionId());
|
||||
|
||||
download(url);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user