forked from ryanmwangi/CalMerger
update name of merged calendars directory to calendars
This commit is contained in:
parent
ff2862c4d1
commit
1e03f668c3
|
@ -8,8 +8,7 @@ import crypto from 'crypto';
|
||||||
const app = express();
|
const app = express();
|
||||||
app.use(express.json());
|
app.use(express.json());
|
||||||
|
|
||||||
const CALENDARS_FILE = 'calendars.json';
|
const MERGED_CALENDARS_DIR = 'calendar';
|
||||||
const MERGED_CALENDARS_DIR = 'merged_calendars';
|
|
||||||
|
|
||||||
// Ensure the merged calendars directory exists
|
// Ensure the merged calendars directory exists
|
||||||
if (!fs.existsSync(MERGED_CALENDARS_DIR)) {
|
if (!fs.existsSync(MERGED_CALENDARS_DIR)) {
|
||||||
|
|
Loading…
Reference in New Issue