RSS Not working
swilgosz opened this issue · 0 comments
swilgosz commented
Overview
RSS feed returns 500 page.
Steps to reproduce.
Visit https://hanamimastery.com/feed
Suggested Fix
On vercel we get two problems with generating sitemaps or RSS files.
- They need to be generated in build-time, not on fly, when the request happens, due to timeouts.
- Because of how vercel static page generation works, the data files cannot be found in the repo after being built.
Possible solution would be to replace getServerSideProps
with getStaticProps
in the pages/feed.jsx
. However, it requires some adjustments, as those functions work differently.