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:
@@ -1,2 +0,0 @@
|
|||||||
VITE_SUPABASE_URL=http://192.168.2.220:8000
|
|
||||||
VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlzcyI6InN1cGFiYXNlIiwiaWF0IjoxNzc5MzAwMTgzLCJleHAiOjE5MzY5ODAxODN9.nxGcFjCSCtz56NUuGpWh77oIDDRqUSxitYFL0p5yuDI
|
|
||||||
@@ -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
@@ -24,5 +24,5 @@ dist-ssr
|
|||||||
*.sw?
|
*.sw?
|
||||||
|
|
||||||
# Environment
|
# Environment
|
||||||
#.env
|
.env
|
||||||
.env.local
|
.env.local
|
||||||
|
|||||||
Reference in New Issue
Block a user