Skip to content

Commit

Permalink
fixed rss file path
Browse files Browse the repository at this point in the history
  • Loading branch information
VovaStelmashchuk committed Dec 15, 2024
1 parent 64b52dc commit a5bfac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routers/rss/rss.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ async function rssHandler(request, h) {
const host = request.headers.host;
const showInfo = await getShowInfo(host);

const rss = await getFileContent(`${showInfo.slug}/${rssFileName}`);
const rss = await getFileContent(`v2/${showInfo.slug}/${rssFileName}`);

return h.response(rss).type("application/rss+xml");
}
Expand Down

0 comments on commit a5bfac5

Please sign in to comment.