mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +00:00
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:
1 file changed
+7
@@ -1,6 +1,13 @@
|
|||||||
node_modules
|
node_modules
|
||||||
dist
|
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.*
|
||||||
|
!.env.example
|
||||||
*.log
|
*.log
|
||||||
screenshots/
|
screenshots/
|
||||||
qa-shots/
|
qa-shots/
|
||||||
|
|||||||
Reference in new issue
Block a user