mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 22:16:58 +00:00
fix: add revalidation to homepage
This commit is contained in:
parent
2c6c984ede
commit
c90b2664b7
@ -5,6 +5,8 @@ import { Suspense } from 'react';
|
|||||||
|
|
||||||
export const runtime = 'edge';
|
export const runtime = 'edge';
|
||||||
|
|
||||||
|
export const revalidate = parseInt(process.env.REVALIDATE_WINDOW ?? `${60 * 60 * 12}`); // 12 hours
|
||||||
|
|
||||||
export const metadata = {
|
export const metadata = {
|
||||||
description: 'High-performance ecommerce store built with Next.js, Vercel, and Medusa.',
|
description: 'High-performance ecommerce store built with Next.js, Vercel, and Medusa.',
|
||||||
openGraph: {
|
openGraph: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user