chore(config): 添加环境配置文件并启用本地服务器API

- 新增 .env.dev 开发环境配置文件
- 新增 .env.prod 生产环境配置文件
- 在 .env.development 中启用 VITE_SERVER_API_URL 配置
- 添加租户ID、API URL和授权码等必要配置项
- 配置开发和生产环境的服务端API地址
- 统一环境变量命名规范
This commit is contained in:
2026-03-09 13:36:36 +08:00
parent 028620f12d
commit 069a8b35d4
3 changed files with 23 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
VITE_APP_NAME=后台管理(开发环境)
#VITE_API_URL=http://127.0.0.1:9200/api
#VITE_SERVER_API_URL=http://127.0.0.1:8000/api
VITE_SERVER_API_URL=http://127.0.0.1:8000/api
#VITE_API_URL=https://glt-api.websoft.top/api