Skip to content

Commit

Permalink
Enable ISR on feed pages with 60s revalidation (#622)
Browse files Browse the repository at this point in the history
This should allow pages to pick up changes to feeds table without having
to rebuild the frontend
  • Loading branch information
paulcretu committed Sep 10, 2024
1 parent 75b13d9 commit 07e524c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/src/pages/listen/[feed].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export async function getStaticProps({ params }: { params: { feed: string } }) {
props: {
dehydratedState: dehydrate(queryClient),
},
revalidate: 60,
};
}

Expand Down

0 comments on commit 07e524c

Please sign in to comment.