From 779134ed0d0469c40b25d8445537bf2857ec5be8 Mon Sep 17 00:00:00 2001 From: GuoQing Liu <842607283@qq.com> Date: Fri, 14 Nov 2025 23:26:16 +0800 Subject: [PATCH] Define proxy host variable in vite.config.ts Add a new line to define the proxy host variable. --- web/vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/vite.config.ts b/web/vite.config.ts index b3a14b4a7..cb1a580bf 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -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: {