15 lines
738 B
Plaintext
15 lines
738 B
Plaintext
# Supabase — variables de cliente (públicas, respetan RLS con anon key)
|
|
# Copiar a .env.local y completar con los valores del proyecto Cloud
|
|
# NO agregar valores reales aquí; .env.local está en .gitignore
|
|
NEXT_PUBLIC_SUPABASE_URL=https://<project-ref>.supabase.co
|
|
NEXT_PUBLIC_SUPABASE_ANON_KEY=<anon-key-publica>
|
|
|
|
# NUNCA agregar SUPABASE_SERVICE_ROLE_KEY como variable NEXT_PUBLIC_ ni en el cliente
|
|
# La service_role bypasa RLS — solo para Edge Functions / backend server-side
|
|
# Usada por app/admin/responses (Server Component) para listar respuestas sin RLS
|
|
SUPABASE_SERVICE_ROLE_KEY=
|
|
|
|
# IP hash — variable server-only (NUNCA NEXT_PUBLIC_)
|
|
# Usada para deduplicación anónima. Generá un string aleatorio largo.
|
|
IP_HASH_SALT=
|