Skip to content

A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.

fix(security): ignore the whole dotenv ladder, not just .env

GGPOShadows82f35161667c
diff --git a/.gitignore b/.gitignore
index 491a82c15..1a64fff39 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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/