Skip to content

Commit f1735f1

Browse files
committed
chore/ui: try fix build
Signed-off-by: SeeuSim <[email protected]>
1 parent 34c25be commit f1735f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/frontend.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20-alpine AS build
1+
FROM node:lts-alpine AS build
22

33
WORKDIR /app
44
COPY ./package*.json ./

frontend/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default defineConfig(({ mode }) => {
5454
},
5555
},
5656
'/collab-ws': {
57-
target: `${env.VITE_COLLAB_SERVICE.replace('http', 'ws')}`,
57+
target: `${(env.VITE_COLLAB_SERVICE ?? 'http://collaboration-service').replace('http', 'ws')}`,
5858
rewrite: (path) => path?.replace && path.replace(/\/collab-ws/, ''),
5959
ws: true,
6060
},

0 commit comments

Comments
 (0)