1
0
Fork 0

define icsFilePath

This commit is contained in:
Ryan Mwangi 2024-10-24 15:18:44 +03:00
parent c3c7e79286
commit bfa61b8e77
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ END:VEVENT
// Serve the merged calendar file and refresh if older than an hour
app.get('/calendar/:name', async (req, res) => {
const calendarName = req.params.name;
const icsFilePath = path.join(MERGED_CALENDARS_DIR, `${calendarName}.ics`);
});