From 5183cc1c04582a23a9e0fd1eb4e50b76c45df337 Mon Sep 17 00:00:00 2001 From: Nudesuppe42 Date: Fri, 29 Dec 2023 14:41:00 +0100 Subject: [PATCH] feat(home): :sparkles: Rerender gallery more frequent --- src/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 25dd461e..6732086a 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -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 }; }