From 62a701a16052fe385603ddf7c8b5de4861b4e9e1 Mon Sep 17 00:00:00 2001 From: TopheC Date: Sat, 23 May 2026 17:29:19 +0200 Subject: [PATCH] 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 --- .env | 2 -- .env.example | 8 ++++++++ .gitignore | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) delete mode 100644 .env create mode 100644 .env.example diff --git a/.env b/.env deleted file mode 100644 index 8b87093..0000000 --- a/.env +++ /dev/null @@ -1,2 +0,0 @@ -VITE_SUPABASE_URL=http://192.168.2.220:8000 -VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlzcyI6InN1cGFiYXNlIiwiaWF0IjoxNzc5MzAwMTgzLCJleHAiOjE5MzY5ODAxODN9.nxGcFjCSCtz56NUuGpWh77oIDDRqUSxitYFL0p5yuDI diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..29b4516 --- /dev/null +++ b/.env.example @@ -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 diff --git a/.gitignore b/.gitignore index 74b8a24..e0bcb2c 100644 --- a/.gitignore +++ b/.gitignore @@ -24,5 +24,5 @@ dist-ssr *.sw? # Environment -#.env +.env .env.local