mirror of
https://github.com/wekan/wekan.git
synced 2026-01-07 10:08:49 +01:00
Change to relative path and /var/attachments to store
This commit is contained in:
parent
6ebd6defe9
commit
d26bf04bfa
5 changed files with 31 additions and 27 deletions
|
|
@ -47,7 +47,7 @@ Template.attachmentsGalery.events({
|
|||
|
||||
Template.attachmentsGalery.helpers({
|
||||
url() {
|
||||
return Attachments.link(this);
|
||||
return Attachments.link(this, 'original', '/');
|
||||
},
|
||||
isUploaded() {
|
||||
return !!this.meta.uploaded;
|
||||
|
|
@ -62,7 +62,7 @@ Template.previewAttachedImagePopup.events({
|
|||
|
||||
Template.previewAttachedImagePopup.helpers({
|
||||
url() {
|
||||
return Attachments.link(this);
|
||||
return Attachments.link(this, 'original', '/');
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue