From bfa61b8e772abecf2c0ab9644df32aa104ab5785 Mon Sep 17 00:00:00 2001 From: Ryan Mwangi Date: Thu, 24 Oct 2024 15:18:44 +0300 Subject: [PATCH] define icsFilePath --- server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server.js b/server.js index 0c933e7..7c6d538 100644 --- a/server.js +++ b/server.js @@ -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`); });