chore: 添加前端环境配置文件
Some checks failed
continuous-integration/drone/push Build is failing

- 添加 frontend/.env.production (VITE_APP_ENV=production)
- 修改 .gitignore 允许提交环境配置
- 修复生产环境显示"开发环境"标识的问题
This commit is contained in:
yuliang_guo
2026-01-29 18:55:25 +08:00
parent 3f724bc322
commit 9793013a56
2 changed files with 10 additions and 2 deletions

7
frontend/.env.production Normal file
View File

@@ -0,0 +1,7 @@
# 生产环境配置
VITE_APP_ENV=production
VITE_API_BASE_URL=https://aiedu.ireborn.com.cn
VITE_WS_BASE_URL=wss://aiedu.ireborn.com.cn
VITE_USE_MOCK_DATA=false
VITE_ENABLE_REQUEST_LOG=false
NODE_ENV=production