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

5
.gitignore vendored
View File

@@ -8,8 +8,9 @@
.env
.env.local
.env.*.local
.env.production
.env.staging
# 允许提交非敏感的环境配置(用于 Vite 构建)
# .env.production
# .env.staging
# ----------------
# 依赖目录