Attempt to fix image not showing up after deployment

This commit is contained in:
Bubka 2020-01-29 14:56:13 +01:00
parent 775d71395a
commit 89733de742
3 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@
<div class="columns is-multiline is-centered is-gapless">
<div class="column is-narrow" v-for="account in filteredAccounts">
<div class="tfa has-background-black-bis has-text-white is-size-3" @click.stop="showAccount(account.id)">
<img :src="'storage/icons/' + account.icon" v-if="account.icon">
<img :src="'/storage/icons/' + account.icon" v-if="account.icon">
{{ account.service }}
<span class="is-family-primary is-size-6 has-text-grey">{{ account.account }}</span>
</div>

View File

@ -65,7 +65,7 @@
</span>
</label>
<span class="tag is-black is-large" v-if="tempIcon">
<img class="icon-preview" :src="'storage/icons/' + tempIcon" >
<img class="icon-preview" :src="'/storage/icons/' + tempIcon" >
<button class="delete is-small" @click.prevent="deleteIcon"></button>
</span>
</div>

View File

@ -53,7 +53,7 @@
</span>
</label>
<span class="tag is-black is-large" v-if="tempIcon">
<img class="icon-preview" :src="'../storage/icons/' + tempIcon" >
<img class="icon-preview" :src="'/storage/icons/' + tempIcon" >
<button class="delete is-small" @click.prevent="deleteIcon"></button>
</span>
</div>