chore: 移除敏感配置文件并优化.gitignore
- 从git追踪中移除.env.production(包含真实API密钥和密码) - 在.gitignore中明确添加.env.production规则 - 清理.gitignore中的重复规则(.bak, .backup, .tmp, .temp, .trae/) - 提升安全性,防止敏感配置泄露
This commit is contained in:
+2
-8
@@ -160,6 +160,7 @@ next-env.d.ts
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
.env.production
|
||||
.env.*.local
|
||||
*.env
|
||||
|
||||
@@ -272,8 +273,6 @@ dist-ssr/
|
||||
# Temporary files
|
||||
*.tmp
|
||||
*.temp
|
||||
*.bak
|
||||
*.backup
|
||||
*.swp
|
||||
*~
|
||||
.npm
|
||||
@@ -345,9 +344,6 @@ e2e/storage-state.json
|
||||
trace.zip
|
||||
network-logs/
|
||||
|
||||
#trae
|
||||
.trae/
|
||||
|
||||
# Deprecated test frameworks
|
||||
e2e-tests/
|
||||
test-framework/
|
||||
@@ -357,8 +353,6 @@ reports/e2e/
|
||||
reports/performance/
|
||||
reports/coverage/
|
||||
|
||||
# Temporary files
|
||||
*.tmp
|
||||
*.temp
|
||||
# OS files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
Reference in New Issue
Block a user