5f48bfda12
移除运行时配置脚本,优先使用构建环境变量,未配置时使用同源地址。同步更新环境变量示例和部署说明。
9 lines
456 B
Bash
9 lines
456 B
Bash
# Backend root URL. Leave empty for same-origin requests (Vite proxy in development).
|
|
# Restart the dev server or rebuild production assets after changing this value.
|
|
# Public configuration only; never put secrets in VITE_* variables.
|
|
VITE_REACT_APP_SERVER_URL=
|
|
|
|
# Frontend build-time feature flags. Rebuild the frontend after changing them.
|
|
# Missing or false keeps the Cloud Brain suite hidden and blocks direct routes.
|
|
VITE_CLOUD_BRAIN_UI_ENABLED=false
|