build-flow.api/.gitignore
xiangning 368dc0abf0 security: 敏感配置迁移至 appsettings.Secrets.json
- appsettings.json 敏感项(连接串/密钥/API Key)改为占位符
- 新增 appsettings.Secrets.json(本地,gitignore)+ .example.json(模板)
- Program.cs 与 3 个 design-time factory 加载 Secrets.json 覆盖
- 历史中的明文凭据已用 git filter-repo 清理(REDACTED)
2026-07-09 12:52:01 +08:00

34 lines
410 B
Plaintext

# ===== .NET 构建产物 =====
**/bin/
**/obj/
*.user
*.suo
*.userosscache
*.userprefs
*.lscache
# ===== IDE / 编辑器 =====
.idea/
.vscode/
.vs/
*.swp
*.swo
*~
# ===== 敏感配置 =====
.env
.env.*
!.env.example
**/appsettings.Development.json
**/appsettings.Production.json
**/appsettings.Secrets.json
**/secrets.json
# ===== 前端 =====
node_modules/
dist/
# ===== 系统 =====
.DS_Store
Thumbs.db