Change fetch caching back.

main
Thomas Hintz 2 years ago
parent d25c17f3e3
commit e81013163b

@ -248,7 +248,7 @@ Object.entries(episodeExtra).forEach(([id, { slug }]) => {
})
export async function getEpisodes() {
const feedRes = await fetch('https://feeds.buzzsprout.com/1764837.rss', { cache: 'no-store' }); // { next: { revalidate: 60 * 10 } }
const feedRes = await fetch('https://feeds.buzzsprout.com/1764837.rss', { next: { revalidate: 60 * 10 } });
const feedString = await feedRes.text()
// const feedString = fs.readFileSync('./feed.rss').toString()

Loading…
Cancel
Save