diff --git a/eltiempo/js/estadisticas.js b/eltiempo/js/estadisticas.js index e8b75f5..d60ae89 100644 --- a/eltiempo/js/estadisticas.js +++ b/eltiempo/js/estadisticas.js @@ -9,8 +9,9 @@ const monthNames = ["Enero","Febrero","Marzo","Abril","Mayo","Junio", let selectedMonth = new Date().getMonth(); // mes actual let ciudadActual = "Madrid"; // ciudad por defecto -// Antes: 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 = "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. // ==================== // Construir URL de API según filtros