fix: add revalidation to homepage

This commit is contained in:
Victor Gerbrands 2023-05-12 14:56:33 +02:00
parent 2c6c984ede
commit c90b2664b7

View File

@ -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: {