Skip to content

Commit 95241f7

Browse files
committed
Fix image URL in JS
1 parent 82e8bcd commit 95241f7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

web/src/pages/issue/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export default VueParent.extend({
157157
158158
const favicon = document.getElementById('favicon') as HTMLAnchorElement
159159
favicon.href =
160-
API_URL + `/images/markers/marker-l-${this.marker.item}.png`
160+
API_URL + `/api/0.3/markers/marker-l-${this.marker.item}.png`
161161
}
162162
)
163163
},

web/src/pages/issues/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@
368368
</td>
369369
<td>
370370
<img
371-
:src="api_url + `/images/markers/marker-l-${res.item}.png`"
371+
:src="api_url + `/api/0.3/markers/marker-l-${res.item}.png`"
372372
:alt="res.item"
373373
/>
374374
<router-link
@@ -598,7 +598,7 @@ export default VueParent.extend({
598598
if (res) {
599599
title += ' - ' + res.menu.auto
600600
const favicon = document.getElementById('favicon')
601-
this.favicon = API_URL + `/images/markers/marker-l-${this.item}.png`
601+
this.favicon = API_URL + `/api/0.3/markers/marker-l-${this.item}.png`
602602
favicon.href = this.favicon
603603
}
604604

0 commit comments

Comments
 (0)