diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-10-08 23:25:04 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-10-08 23:28:27 +0200 |
commit | a78debc461944f55de246db15a1dd29353dec4ae (patch) | |
tree | e49b55895c5376c613dcc3512d56a5d89246b095 /client/components/cards | |
parent | c804813e5f5fdffb8a7deca72737b65f052ea28a (diff) | |
download | wekan-a78debc461944f55de246db15a1dd29353dec4ae.tar.gz wekan-a78debc461944f55de246db15a1dd29353dec4ae.tar.bz2 wekan-a78debc461944f55de246db15a1dd29353dec4ae.zip |
Support app deployment under a path prefix
Fixes #133
Diffstat (limited to 'client/components/cards')
-rw-r--r-- | client/components/cards/attachments.jade | 2 | ||||
-rw-r--r-- | client/components/cards/minicard.jade | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/components/cards/attachments.jade b/client/components/cards/attachments.jade index 59eaf077..e519650b 100644 --- a/client/components/cards/attachments.jade +++ b/client/components/cards/attachments.jade @@ -15,7 +15,7 @@ template(name="attachmentsGalery") .attachment-thumbnail if isUploaded if isImage - img.attachment-thumbnail-img(src=url) + img.attachment-thumbnail-img(src="{{pathfor url}}") else span.attachment-thumbnail-ext= extension else diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade index 660b0fa5..573b3da1 100644 --- a/client/components/cards/minicard.jade +++ b/client/components/cards/minicard.jade @@ -2,7 +2,7 @@ template(name="minicard") .minicard if cover .minicard-cover - img(src=cover.url) + img(src="{{pathFor cover.url}}") if labels .minicard-labels each labels |