Compare commits

...

2 Commits

Author SHA1 Message Date
GuoQing Liu
779134ed0d
Define proxy host variable in vite.config.ts
Add a new line to define the proxy host variable.
2025-11-14 23:26:16 +08:00
GuoQing Liu
2d99f2e850
Remove unnecessary newline in Dockerfile 2025-11-14 21:57:19 +08:00
2 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,6 @@ FROM --platform=$BUILDPLATFORM node:20 AS web-build
WORKDIR /work
COPY web/package.json web/package-lock.json ./
RUN npm install
COPY web/ ./

View File

@ -5,6 +5,7 @@ import react from "@vitejs/plugin-react-swc";
import monacoEditorPlugin from "vite-plugin-monaco-editor";
const proxyHost = process.env.PROXY_HOST || "localhost:5000";
// https://vitejs.dev/config/
export default defineConfig({
define: {