From 1e03f668c3eebd66b6f57afb8e124e09745338ea Mon Sep 17 00:00:00 2001 From: Ryan Mwangi Date: Thu, 24 Oct 2024 14:21:21 +0300 Subject: [PATCH] update name of merged calendars directory to calendars --- .../6d2e5390e546494c41a9a40ff784af81.ics | 0 .../6d2e5390e546494c41a9a40ff784af81.json | 0 server.js | 3 +-- 3 files changed, 1 insertion(+), 2 deletions(-) rename {merged_calendars => calendar}/6d2e5390e546494c41a9a40ff784af81.ics (100%) rename {merged_calendars => calendar}/6d2e5390e546494c41a9a40ff784af81.json (100%) diff --git a/merged_calendars/6d2e5390e546494c41a9a40ff784af81.ics b/calendar/6d2e5390e546494c41a9a40ff784af81.ics similarity index 100% rename from merged_calendars/6d2e5390e546494c41a9a40ff784af81.ics rename to calendar/6d2e5390e546494c41a9a40ff784af81.ics diff --git a/merged_calendars/6d2e5390e546494c41a9a40ff784af81.json b/calendar/6d2e5390e546494c41a9a40ff784af81.json similarity index 100% rename from merged_calendars/6d2e5390e546494c41a9a40ff784af81.json rename to calendar/6d2e5390e546494c41a9a40ff784af81.json diff --git a/server.js b/server.js index db090a7..b806a25 100644 --- a/server.js +++ b/server.js @@ -8,8 +8,7 @@ import crypto from 'crypto'; const app = express(); app.use(express.json()); -const CALENDARS_FILE = 'calendars.json'; -const MERGED_CALENDARS_DIR = 'merged_calendars'; +const MERGED_CALENDARS_DIR = 'calendar'; // Ensure the merged calendars directory exists if (!fs.existsSync(MERGED_CALENDARS_DIR)) {