refactor: put rss file path in env variables

This commit is contained in:
2026-03-16 11:26:05 +01:00
parent f17d267336
commit b7568e2ba2
3 changed files with 3 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ let generator = null;
export default (() => {
if (!generator) {
generator = Object.freeze(new RssGenerator({
filePath: '/home/node/rss/rss.xml',
filePath: process.env.RSS_FILE_PATH,
}));
}