sync: bring client/Dockerfile and client/vite.config.ts to dp-custom state

This commit is contained in:
iqubik
2026-04-05 00:48:11 +03:00
parent 60f2a44178
commit 4335b28d65
2 changed files with 14 additions and 0 deletions
+1
View File
@@ -9,6 +9,7 @@ COPY . .
ENV VITE_API_URL=/api
ENV VITE_LOG_LEVEL=debug
ENV VITE_SEND_LOGS_TO_BACKEND=true
ENV VITE_APP_VERSION=2.1.2
RUN npm run build
+13
View File
@@ -3,6 +3,19 @@ import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
port: 8080,
proxy: {
'/api': {
target: 'http://localhost:3100',
changeOrigin: true
},
'/bus': {
target: 'http://localhost:3100',
changeOrigin: true
}
}
},
test: {
globals: true,
environment: 'jsdom',