1
0
Fork 0

update merged calendar url

This commit is contained in:
Ryan Mwangi 2024-10-03 01:13:58 +03:00
parent f539e5d140
commit 12fafd934f
1 changed files with 3 additions and 0 deletions

View File

@ -149,6 +149,9 @@ END:VEVENT
icalString += `END:VCALENDAR`;
fs.writeFileSync(filename, icalString);
// Update the merged calendar URL
const mergedCalendarUrl = `${req.protocol}://${req.get('host')}/${filename}`;
} catch (error) {
console.error(error);