From 15c81895540e2655b2c01c92508f2e9e75cf5597 Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Thu, 16 Sep 2021 21:07:10 +0200 Subject: [PATCH] [calendar] fix rel location --- server/calendarTwitter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/calendarTwitter.js b/server/calendarTwitter.js index b01ef551d..9d15b6875 100644 --- a/server/calendarTwitter.js +++ b/server/calendarTwitter.js @@ -6,7 +6,7 @@ const { currentYear } = require('../src/calendar/calendar'); const { Day } = require('../src/calendar/helpers'); const locales = require('../src/locales'); -const loadSuml = name => new Suml().parse(fs.readFileSync(`./data/${name}.suml`).toString()); +const loadSuml = name => new Suml().parse(fs.readFileSync(`${__dirname}/../data/${name}.suml`).toString()); const translations = loadSuml('translations'); const config = loadSuml('config');