Change to relative path and /var/attachments to store

This commit is contained in:
Romulus Urakagi Tsai 2020-01-14 06:29:34 +00:00
parent 6ebd6defe9
commit d26bf04bfa
5 changed files with 31 additions and 27 deletions

View file

@ -33,6 +33,6 @@ Template.minicard.helpers({
return Meteor.user().hasHiddenMinicardLabelText();
},
coverUrl() {
return Attachments.findOne(this.coverId).link();
return Attachments.findOne(this.coverId).link('original', '/');
},
});