update merged calendar url
This commit is contained in:
parent
f539e5d140
commit
12fafd934f
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue