Skip to content

Commit

Permalink
Merge branch 'main' of github.com:lifeparticle/binarytree
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeparticle committed Sep 21, 2023
2 parents 8039125 + 58346c4 commit 553639f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/newsfeed/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ app.get("/rss", async (req, res) => {
throw new Error("Failed to fetch the Medium RSS feed");
}

res.setHeader('Cache-Control', 's-max-age=86400, stale-while-revalidate');
res.set("Content-Type", "application/xml");

res.send(response.data);
Expand Down

0 comments on commit 553639f

Please sign in to comment.