Fix: Add .env to .gitignore and create .env.example

- Uncomment .env in .gitignore to prevent accidental commits
- Remove .env from git tracking
- Add .env.example with placeholder values for documentation
- Fixes security issue where .env was committed with credentials
This commit is contained in:
2026-05-23 17:29:19 +02:00
parent 66f27afbac
commit 62a701a160
3 changed files with 9 additions and 3 deletions
-2
View File
@@ -1,2 +0,0 @@
VITE_SUPABASE_URL=http://192.168.2.220:8000
VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlzcyI6InN1cGFiYXNlIiwiaWF0IjoxNzc5MzAwMTgzLCJleHAiOjE5MzY5ODAxODN9.nxGcFjCSCtz56NUuGpWh77oIDDRqUSxitYFL0p5yuDI
+8
View File
@@ -0,0 +1,8 @@
# Supabase Configuration
# Copy this file to .env and fill in your actual values
# Supabase API URL
VITE_SUPABASE_URL=http://localhost:8000
# Supabase anonymous key (public)
VITE_SUPABASE_ANON_KEY=your-anon-key-here
+1 -1
View File
@@ -24,5 +24,5 @@ dist-ssr
*.sw? *.sw?
# Environment # Environment
#.env .env
.env.local .env.local