From 07e524c74a4d6a873462a96991ef2c15598636db Mon Sep 17 00:00:00 2001 From: Paul Cretu Date: Mon, 9 Sep 2024 20:06:59 -0700 Subject: [PATCH] Enable ISR on feed pages with 60s revalidation (#622) This should allow pages to pick up changes to feeds table without having to rebuild the frontend --- ui/src/pages/listen/[feed].tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/src/pages/listen/[feed].tsx b/ui/src/pages/listen/[feed].tsx index 0a3f834b..d6a0f34a 100644 --- a/ui/src/pages/listen/[feed].tsx +++ b/ui/src/pages/listen/[feed].tsx @@ -100,6 +100,7 @@ export async function getStaticProps({ params }: { params: { feed: string } }) { props: { dehydratedState: dehydrate(queryClient), }, + revalidate: 60, }; }