Fix sync auth, add cron script, update env.example

This commit is contained in:
2026-06-11 16:11:38 -03:00
parent 208bc52af7
commit 4ba290004c
4 changed files with 17 additions and 6 deletions
+4 -4
View File
@@ -6,9 +6,9 @@ POSTGRES_DB=prode_db
# JWT - CAMBIAR en producción
JWT_SECRET=un_secret_muy_largo_y_seguro_aqui
# URL del sitio externo de resultados (se configura cuando esté disponible)
RESULTS_API_URL=
RESULTS_API_KEY=
# API de resultados (football-data.org)
RESULTS_API_URL=https://api.football-data.org/v4/competitions/WC/matches
RESULTS_API_KEY=tu_token_de_football_data_org_aqui
# Secret para proteger el endpoint de sync
# Secret para proteger el endpoint de sync (cron)
ADMIN_SYNC_SECRET=sync_secret_cambialo