Store the merged calendar URL in a file

This commit is contained in:
Ryan Mwangi 2024-10-08 21:57:08 +03:00
parent 3543489c3a
commit 1552cc2013
1 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,9 @@ app.get('/:filename', (req, res) => {
res.sendFile(filename, { root: '.' }); res.sendFile(filename, { root: '.' });
}); });
// Store the merged calendar URL in a file
const mergedCalendarUrlFile = 'merged_calendar_url.txt';
// Function to update the merged calendar // Function to update the merged calendar
async function updateMergedCalendar(){ async function updateMergedCalendar(){
try { try {