From 6069abc7f750d0be40c68ef8220195e512cb7a47 Mon Sep 17 00:00:00 2001 From: Pjaijai Date: Mon, 6 May 2024 23:28:41 -0400 Subject: [PATCH] fix: fix main page cache --- client/app/[locale]/page.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/app/[locale]/page.tsx b/client/app/[locale]/page.tsx index 7a4e0041..d436b655 100644 --- a/client/app/[locale]/page.tsx +++ b/client/app/[locale]/page.tsx @@ -8,9 +8,7 @@ import { import { EReferralType } from "@/types/common/referral-type" // cache for 1 hours -// export const revalidate = 60 * 60 - -export const revalidate = 0 +export const revalidate = 60 * 60 export default async function IndexPage() { const count = await getUserCount()