diff --git a/models/boards.js b/models/boards.js index 87a297d00..763b83c7b 100644 --- a/models/boards.js +++ b/models/boards.js @@ -2287,8 +2287,8 @@ if (Meteor.isServer) { attachmentId: attachment._id, attachmentName: attachment.name, attachmentType: attachment.type, - url: FlowRouter.url(attachment.link()), - urlDownload: `${FlowRouter.url(attachment.link())}?download=true&token=`, + url: attachment.link(), + urlDownload: `${attachment.link()}?download=true&token=`, boardId: attachment.meta.boardId, swimlaneId: attachment.meta.swimlaneId, listId: attachment.meta.listId,