Browse Source

Versuch, mit dem dev weiterzuarbeiten

pull/1/head
Georg Spar 1 year ago
parent
commit
0a294e00df
  1. 4
      Dockerfile
  2. 2
      components/Bought.vue

4
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"]

2
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);
}

Loading…
Cancel
Save