mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-26 00:01:37 +00:00
fix sveltekit conf
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const base: string = import.meta.env.BASE_URL
|
||||
export const base: string = import.meta.env.VITE_BASE_URL ?? ''
|
||||
|
||||
@@ -22,7 +22,7 @@ const config = {
|
||||
}),
|
||||
prerender: { entries: [] },
|
||||
paths: {
|
||||
base: process.env.BASE_URL ?? ''
|
||||
base: process.env.VITE_BASE_URL ?? ''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user