mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 03:00:41 +01:00
attachment revision upload
This commit is contained in:
@@ -25,7 +25,7 @@ export async function uploadFiles(parentNoteId, files, options) {
|
||||
}
|
||||
|
||||
await $.ajax({
|
||||
url: `${baseApiUrl}notes/${parentNoteId}/import`,
|
||||
url: `${window.glob.baseApiUrl}notes/${parentNoteId}/import`,
|
||||
headers: await server.getHeaders(),
|
||||
data: formData,
|
||||
dataType: 'json',
|
||||
|
||||
Reference in New Issue
Block a user