Merge pull request #678 from GGPOShadows/pr/gitignore-env-variants

fix(security): ignore the whole dotenv ladder, not just .env
This commit is contained in:
Sameh Khamis authored and GitHub committed 2026-09-20 15:33:53 -07:00
commit 7fc8cd9fd0
1 file changed
+7
+7
View File
@@ -1,6 +1,13 @@
node_modules
dist
# Credential files. `.env` alone is not enough: Vite's loadEnv (see
# server/standalone/vite.config.js) and scripts/setup-doctor.mjs both read the
# full dotenv ladder — .env, .env.local, .env.<mode> and .env.<mode>.local —
# so a key placed in any of them is live for the app. Only .env was ignored,
# leaving the other three committable. .env.example is the tracked template.
.env
.env.*
!.env.example
*.log
screenshots/
qa-shots/