refactor(config): 统一后端地址的构建配置
移除运行时配置脚本,优先使用构建环境变量,未配置时使用同源地址。同步更新环境变量示例和部署说明。
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user