Skip to content

Commit

Permalink
Update cal.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Xalsier authored Sep 14, 2023
1 parent 5aa79ae commit 9b4ad09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();

Expand Down

0 comments on commit 9b4ad09

Please sign in to comment.