From e87de394d738c324e68f2ea2fa39b27097a946c9 Mon Sep 17 00:00:00 2001 From: Tatiana Villa Ema Date: Sun, 22 Feb 2026 00:11:43 +0100 Subject: [PATCH] con filtros --- eltiempo/index.html | 2 +- eltiempo/js/estadisticas.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eltiempo/index.html b/eltiempo/index.html index f066293..727eeca 100644 --- a/eltiempo/index.html +++ b/eltiempo/index.html @@ -3,7 +3,7 @@ Estadísticas | El Tiempo - + diff --git a/eltiempo/js/estadisticas.js b/eltiempo/js/estadisticas.js index d60ae89..7956f2b 100644 --- a/eltiempo/js/estadisticas.js +++ b/eltiempo/js/estadisticas.js @@ -10,8 +10,8 @@ let selectedMonth = new Date().getMonth(); // mes actual let ciudadActual = "Madrid"; // ciudad por defecto // const BASE_API = "https://aplicacionesdevanguardia.es/eltiempo/servidor/api-weather-fechas.php"; -// const BASE_API = "http://tatvil.es/apis/api/weather/filter"; -const BASE_API = "http://tatvil.es/apis/api/weather/all"; // Temporalmente apuntamos a /all ya que el backend Java aún no implementa filtros. Filtraremos en el frontend por ahora. +const BASE_API = "http://tatvil.es/apis/api/weather/filter"; +//const BASE_API = "http://tatvil.es/apis/api/weather/all"; // ==================== // Construir URL de API según filtros