Commit 44fc6a31 authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Fix links for /dist resources

parent 30756d98
......@@ -18,7 +18,7 @@ class ImageGroup {
let tasks;
if (group.image) {
image = m('img', { src: group.image });
image = m('img', { src: `/${group.image}` });
} else {
image = m('div.no-image', i18n('no image'));
}
......@@ -86,7 +86,7 @@ export default class Board {
let image;
if (boardImage) {
image = m('img', { src: boardImage });
image = m('img', { src: `/${boardImage}` });
} else {
image = m('div.no-image', i18n('no image'));
}
......
......@@ -18,7 +18,7 @@ class Commission {
const contactInfo = [];
if (commission.image) {
image = m('img', { src: commission.image });
image = m('img', { src: `/${commission.image}` });
} else {
image = m('div.no-image', i18n('no image'));
}
......
......@@ -20,7 +20,7 @@ export default class Statutes {
if (this.content) return;
m.request({
url: statutes,
url: `/${statutes}`,
method: 'GET',
deserialize: response => {
this.content = response;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment