fix sveltekit conf

This commit is contained in:
Ruben Fiszel
2024-07-22 22:31:53 +02:00
parent 7b296e8ce9
commit 4003a6ebec
3 changed files with 3 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ COPY /typescript-client/docs/ /frontend/static/tsdocs/
RUN npm run generate-backend-client
ENV NODE_OPTIONS "--max-old-space-size=8192"
ARG BASE_URL ""
ARG VITE_BASE_URL ""
RUN npm run build

View File

@@ -1 +1 @@
export const base: string = import.meta.env.BASE_URL
export const base: string = import.meta.env.VITE_BASE_URL ?? ''

View File

@@ -22,7 +22,7 @@ const config = {
}),
prerender: { entries: [] },
paths: {
base: process.env.BASE_URL ?? ''
base: process.env.VITE_BASE_URL ?? ''
}
}
}