From 9b4ad09d61a69084fef4efc9ac3215a59d000385 Mon Sep 17 00:00:00 2001 From: Xalsier <81521840+Xalsier@users.noreply.github.com> Date: Thu, 14 Sep 2023 19:17:48 -0400 Subject: [PATCH] Update cal.js --- cal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cal.js b/cal.js index 69cecff..1dfaa8f 100644 --- a/cal.js +++ b/cal.js @@ -3,7 +3,7 @@ 日 = (e, n) => new Date(e, n, 1).getDay(); 古 = (e, n, a) => new Date(e, n, a) < Date.now(); 隠 = _ => 面 && (面.innerHTML = ""); -獲 = _ => fetch("https://cdn.jsdelivr.net/gh/Xalsier/nak_calendar/cal.json").then(response => response.json()); // Fetch the calendar data from cal_dat.json +獲 = _ => fetch("../json/cal.json").then(response => response.json()); // Fetch the calendar data from cal_dat.json const 更新图片 = async (年, 月) => { const calendarData = await 獲();