Merge branch 'main' of github.com:tatvil/aplicacionesdevanguardia
This commit is contained in:
commit
33b8d81dce
|
|
@ -39,7 +39,7 @@ async function loadStats() {
|
||||||
|
|
||||||
async function loadStatsToday() {
|
async function loadStatsToday() {
|
||||||
try {
|
try {
|
||||||
const response = await fetch(API_URL_TODAY);
|
const response = await fetch(API_URL);
|
||||||
if (!response.ok) throw new Error("Error cargando datos: " + response.status);
|
if (!response.ok) throw new Error("Error cargando datos: " + response.status);
|
||||||
|
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue