From 557f9709ac391f4b065b669ddcdc923a38dc52dc Mon Sep 17 00:00:00 2001 From: Vid Smole Date: Wed, 5 Jul 2023 12:51:49 +0200 Subject: [PATCH] Fix attachment urls --- models/boards.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,