Compare commits

..
2 Commits
Author SHA1 Message Date
GuoQing LiuandGitHub 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 LiuandGitHub 2d99f2e850 Remove unnecessary newline in Dockerfile 2025-11-14 21:57:19 +08:00
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -318,7 +318,6 @@ FROM --platform=$BUILDPLATFORM node:20 AS web-build
WORKDIR /work WORKDIR /work
COPY web/package.json web/package-lock.json ./ COPY web/package.json web/package-lock.json ./
RUN npm install RUN npm install
COPY web/ ./ COPY web/ ./
+1
View File
@@ -5,6 +5,7 @@ import react from "@vitejs/plugin-react-swc";
import monacoEditorPlugin from "vite-plugin-monaco-editor"; import monacoEditorPlugin from "vite-plugin-monaco-editor";
const proxyHost = process.env.PROXY_HOST || "localhost:5000"; const proxyHost = process.env.PROXY_HOST || "localhost:5000";
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
define: { define: {