From 0a294e00df0c0a5585246c01e0028a1115119ea3 Mon Sep 17 00:00:00 2001 From: Georg Spar Date: Tue, 20 Jun 2023 18:23:42 +0200 Subject: [PATCH] Versuch, mit dem dev weiterzuarbeiten --- Dockerfile | 4 ++-- components/Bought.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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); }