Relative paths

This commit is contained in:
Codrin Pavel
2020-05-23 07:32:00 +03:00
parent f4a45e36c0
commit 0a5138072f
3 changed files with 5 additions and 5 deletions

View File

@@ -38,7 +38,7 @@
<li v-for="titan in titans">
<label>
<input type="checkbox" :value="titan" v-model="selectedTitans" />
<img :src="'/assets/img/Titans/'+ titan + '.png'" />
<img :src="'../assets/img/Titans/'+ titan + '.png'" />
</label>
</li>
</ul>
@@ -63,13 +63,13 @@
<img
v-for="(titan, index) in match.defBattle.attackers"
:title="'Totem level ' + titan.elementSpiritLevel + ', ' + titan.elementSpiritStar + '*'"
:src="'/assets/img/Titans/'+ titan.id + '.png'" />
:src="'../assets/img/Titans/'+ titan.id + '.png'" />
</td>
<td>
<img
v-for="titan in match.defBattle.defenders[0]"
:src="'/assets/img/Titans/'+ titan.id + '.png'" />
:src="'../assets/img/Titans/'+ titan.id + '.png'" />
</td>
<td>