Skip to content

Commit

Permalink
Enable ISR on feed pages with 60s revalidation
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 6cb8ca8 commit 86c08f3
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 86c08f3

Please sign in to comment.