Skip to content

Commit

Permalink
feat(home): ✨ Rerender gallery more frequent
Browse files Browse the repository at this point in the history
  • Loading branch information
Nudelsuppe42 committed Dec 29, 2023
1 parent 7d3a871 commit 5183cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,6 @@ export async function getStaticProps({ locale }: any) {
const res = await fetcher('/showcases/random?limit=6');
return {
props: { data: res, ...(await serverSideTranslations(locale, ['common', 'home'])) },
revalidate: 60 * 60, // Every hour
revalidate: 60 * 2, // Every two minutes
};
}

0 comments on commit 5183cc1

Please sign in to comment.