primer commit

This commit is contained in:
Tatiana Villa Ema 2026-01-18 00:13:20 +01:00
parent 56c5811350
commit 08094a3c96
1 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ async function santoDelDia() {
const fechaISO = new Date(hoy - offset).toISOString().split('T')[0];
try {
const res = await fetch('../data/santos.json');
const res = await fetch('data/santos.json');
const listaSantos = await res.json();
// Buscamos el santo usando el campo "fecha" de tu JSON
@ -163,7 +163,7 @@ async function visualizarSalmo() {
const salmoElem = document.getElementById('__salmo');
try {
const res = await fetch('../data/salmos.json');
const res = await fetch('data/salmos.json');
if (!res.ok) throw new Error("No se pudo cargar el salmo");
const listaSalmos = await res.json();