mirror of
https://github.com/docmost/docmost.git
synced 2025-11-15 23:41:10 +10:00
Add api prefix to attachment nodes
This commit is contained in:
@ -77,7 +77,7 @@ export default function DrawioView(props: NodeViewProps) {
|
||||
}
|
||||
|
||||
updateAttributes({
|
||||
src: `/files/${attachment.id}/${attachment.fileName}?t=${new Date(attachment.updatedAt).getTime()}`,
|
||||
src: `/api/files/${attachment.id}/${attachment.fileName}?t=${new Date(attachment.updatedAt).getTime()}`,
|
||||
title: attachment.fileName,
|
||||
size: attachment.fileSize,
|
||||
attachmentId: attachment.id,
|
||||
|
||||
Reference in New Issue
Block a user