Cambio de url relativa a absoluta para llamada a api

This commit is contained in:
Tatiana Villa Ema 2026-02-04 18:05:34 +01:00
parent e7e0fe523f
commit 97430a1af9
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
// API URL absoluta
const API_URL = "http://aplicacionesdevanguardia.es/eltiempo/servidor/api-weather-reverse.php?ciudad=madrid";
const API_URL = "/eltiempo/servidor/api-weather-reverse.php?ciudad=madrid";
// ====================
// Helper