4d66718b05
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.
15 lines
459 B
Bash
15 lines
459 B
Bash
# Vite dev proxy 目標後端 URL。
|
|
VITE_PROXY_TARGET=http://192.168.89.54:9002
|
|
|
|
# Vite API base URL。
|
|
# 使用 Vite dev proxy 時,建議維持相對路徑。
|
|
VITE_API_BASE_URL=/service/api
|
|
|
|
# 登入示範開關。只有專案明確支援略過登入時才設為 true。
|
|
VITE_SKIP_LOGIN=false
|
|
|
|
# 本機開發示範帳號。
|
|
# 有後端或 demo 帳號時,複製到 .env.development.local 後填入。
|
|
VITE_DEV_DEFAULT_USER_ID=
|
|
VITE_DEV_DEFAULT_PASSWORD=
|