chore: allow .env in repo, add .env.example template
- .gitignore: track .env, still ignore local overrides (.env.local) - Add .env.example with DATABASE_URL / JWT_SECRET / PORT / HOST
This commit is contained in:
1 parent
7d431a89a7
commit
9e72e4de8e
2 files changed
+17
-1
No files matched your search
+5
-1
@@ -4,4 +4,8 @@ out/
|
||||
uploads/
|
||||
*.log
|
||||
.DS_Store
|
||||
.env
|
||||
|
||||
# .env 允许提交到仓库(项目约定)
|
||||
# 仅忽略本地覆盖文件
|
||||
.env.local
|
||||
.env.*.local
|
||||
Reference in new issue
Block a user