mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 14:25:51 +01:00
attachment revision upload
This commit is contained in:
@@ -88,7 +88,7 @@ export default class ImagePropertiesWidget extends NoteContextAwareWidget {
|
||||
formData.append('upload', fileToUpload);
|
||||
|
||||
const result = await $.ajax({
|
||||
url: `${baseApiUrl}images/${this.noteId}`,
|
||||
url: `${window.glob.baseApiUrl}images/${this.noteId}`,
|
||||
headers: await server.getHeaders(),
|
||||
data: formData,
|
||||
type: 'PUT',
|
||||
|
||||
Reference in New Issue
Block a user