From c90b2664b73bb019fa0f572b1ca76327af6f8f45 Mon Sep 17 00:00:00 2001 From: Victor Gerbrands Date: Fri, 12 May 2023 14:56:33 +0200 Subject: [PATCH] fix: add revalidation to homepage --- app/page.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/page.tsx b/app/page.tsx index 7b400c45a..ecc845f11 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -5,6 +5,8 @@ import { Suspense } from 'react'; export const runtime = 'edge'; +export const revalidate = parseInt(process.env.REVALIDATE_WINDOW ?? `${60 * 60 * 12}`); // 12 hours + export const metadata = { description: 'High-performance ecommerce store built with Next.js, Vercel, and Medusa.', openGraph: {