marcha atras, hasta conseguit solucionar filtros
This commit is contained in:
parent
ff69e545c2
commit
0348fe6a42
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue