From ff69e545c22afa8f425a8c09871957e278694321 Mon Sep 17 00:00:00 2001 From: Tatiana Villa Date: Sat, 21 Feb 2026 18:27:38 +0100 Subject: [PATCH] llamando a la url con http y no con https --- eltiempo/js/estadisticas.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eltiempo/js/estadisticas.js b/eltiempo/js/estadisticas.js index 2eb1d98..e8b75f5 100644 --- a/eltiempo/js/estadisticas.js +++ b/eltiempo/js/estadisticas.js @@ -10,7 +10,7 @@ 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 = "https://tatvil.es/apis/api/weather/filter"; +const BASE_API = "http://tatvil.es/apis/api/weather/filter"; // ==================== // Construir URL de API según filtros @@ -39,7 +39,7 @@ function buildApiUrl({ ciudad, desde, hasta }) { console.log("Construyendo URL con parámetros:", { ciudad, desde, hasta }); console.log("URL API:", `${BASE_API}?${params.toString()}`); - + return `${BASE_API}?${params.toString()}`; }