chore: document env files and configure proxy target

Add VITE_PROXY_TARGET to the example environment file and use it in
the Vite dev proxy configuration with a localhost fallback. Expand the
LLM development guide with env file loading order, version-control
rules, and variable descriptions. Also clean up ignored local tool
paths in .gitignore and remove duplicated README env examples.chore: document env files and configure proxy target

Add VITE_PROXY_TARGET to the example environment file and use it in
the Vite dev proxy configuration with a localhost fallback. Expand the
LLM development guide with env file loading order, version-control
rules, and variable descriptions. Also clean up ignored local tool
paths in .gitignore and remove duplicated README env examples.
This commit is contained in:
skytek_xinliang
2026-05-20 09:50:35 +08:00
parent e90d412956
commit 4d66718b05
6 changed files with 48 additions and 29 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export default defineConfig({
port: 3700,
proxy:{
"/service/": {
target: "http://192.168.89.54:9002",
target: process.env.VITE_PROXY_TARGET || "http://localhost:8080",
changeOrigin: true,
},
}