Laravel Vapor - Image assets 404 error

This commit is contained in:
Dillon Ngo
2024-10-16 16:56:03 +08:00
parent e96fc3adb2
commit 86288079f1
2 changed files with 4 additions and 4 deletions
@@ -18,8 +18,8 @@
<!-- PRIORITY If bank exist for payment -->
<div class="row align-items-center" v-if="singlePayment.bank">
<div class="col-auto p-r-0">
<img v-if="item.service.id === 4" src="/images/1688_logo.png" alt="" width="40">
<img v-else-if="item.service.id === 11" src="/images/alipay_logo.png" alt="" width="40">
<img v-if="item.service.id === 4" :src="asset('images/1688_logo.png')" alt="" width="40">
<img v-else-if="item.service.id === 11" :src="asset('images/alipay_logo.png')" alt="" width="40">
<div v-else class="padding-5 bg-master-light">
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"
width="30" height="30"
@@ -8,8 +8,8 @@
</div>
<div class="row align-items-center">
<div class="col-auto p-r-0">
<img v-if="item.service.id === 4" src="/images/1688_logo.png" alt="" width="40">
<img v-else-if="item.service.id === 11" src="/images/alipay_logo.png" alt="" width="40">
<img v-if="item.service.id === 4" :src="asset('images/1688_logo.png')" alt="" width="40">
<img v-else-if="item.service.id === 11" :src="asset('images/alipay_logo.png')" alt="" width="40">
<div v-else class="padding-5 bg-master-light">
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"
width="30" height="30"