diff --git a/Dockerfile b/Dockerfile index c13af3e..5aec3fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,11 +4,11 @@ RUN apk update && apk upgrade RUN apk add git net-tools COPY . . RUN npm ci -RUN npm run build +#RUN npm run build EXPOSE 80 ENV NITRO_HOST=0.0.0.0 ENV NITRO_PORT=80 -CMD ["npm", "start"] +CMD ["npm", "run", "dev"] diff --git a/components/Bought.vue b/components/Bought.vue index 953ed32..beb9573 100644 --- a/components/Bought.vue +++ b/components/Bought.vue @@ -124,7 +124,7 @@ async function awaitItemsb() { for (r in res.data.value) { console.log('Ausgabe r: ', res.data.value[r]); const st = res.data.value[r].frontview.pfad; - res.data.value[r].frontview.imgurl = new URL(`${pfad}/${st}`, import.meta.url).href; //}); + res.data.value[r].frontview.imgurl = new URL(`${pfad}/${st}`, import.meta.url).href; console.log( res.data.value[r].frontview.imgurl); }