primer commit
This commit is contained in:
parent
5c6cce18b3
commit
56c5811350
|
|
@ -34,7 +34,7 @@ async function cargarYActualizarTodo() {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// 2. Cargar el JSON unificado (enero/febrero que creamos)
|
// 2. Cargar el JSON unificado (enero/febrero que creamos)
|
||||||
const respuesta = await fetch('../data/calendario-liturgico.json');
|
const respuesta = await fetch('data/calendario-liturgico.json');
|
||||||
const datosCalendario = await respuesta.json();
|
const datosCalendario = await respuesta.json();
|
||||||
|
|
||||||
// 3. Buscar el objeto del día de hoy
|
// 3. Buscar el objeto del día de hoy
|
||||||
|
|
@ -79,7 +79,7 @@ async function difuntos() {
|
||||||
const diaHoy = hoy.getDate();
|
const diaHoy = hoy.getDate();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const res = await fetch('../data/difuntos.json');
|
const res = await fetch('data/difuntos.json');
|
||||||
const listaDifuntos = await res.json();
|
const listaDifuntos = await res.json();
|
||||||
|
|
||||||
// Buscamos si alguien cumple aniversario de fallecimiento hoy
|
// Buscamos si alguien cumple aniversario de fallecimiento hoy
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue