Moving image source from web to backend

This commit is contained in:
2024-09-10 16:45:49 +02:00
parent 5a1b28dd60
commit c9a80a0a74
13 changed files with 29 additions and 14 deletions

View File

@@ -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>