Moving image source from web to backend
This commit is contained in:
@@ -16,7 +16,7 @@ defineProps({
|
||||
<template>
|
||||
<v-card link>
|
||||
<v-img
|
||||
:src="product.imageUrl"
|
||||
:src="'http://127.0.0.1:3000/static/' + product.imageUrl"
|
||||
cover
|
||||
max-height="200"
|
||||
class="align-end text-white"
|
||||
|
||||
@@ -25,7 +25,7 @@ function addProductToBasket() {
|
||||
<template>
|
||||
<v-dialog max-width="800" v-model="showDialog">
|
||||
<v-card :title="product.name" :subtitle="product.brand" >
|
||||
<v-img :src="product.imageUrl" max-height="300" />
|
||||
<v-img :src="'http://127.0.0.1:3000/static/' + product.imageUrl" max-height="300" />
|
||||
|
||||
<v-card-text>
|
||||
<v-row>
|
||||
|
||||
Reference in New Issue
Block a user