mirror of
https://github.com/vercel/commerce.git
synced 2025-05-16 06:26:58 +00:00
fix: add revalidate
This commit is contained in:
parent
99abe4d8da
commit
2f4a6d2177
@ -14,6 +14,7 @@ import { getProduct } from 'lib/medusa';
|
|||||||
import { Image } from 'lib/medusa/types';
|
import { Image } from 'lib/medusa/types';
|
||||||
|
|
||||||
export const runtime = 'edge';
|
export const runtime = 'edge';
|
||||||
|
export const revalidate = 30;
|
||||||
|
|
||||||
export async function generateMetadata({
|
export async function generateMetadata({
|
||||||
params
|
params
|
||||||
|
@ -6,6 +6,7 @@ import Grid from 'components/grid';
|
|||||||
import ProductGridItems from 'components/layout/product-grid-items';
|
import ProductGridItems from 'components/layout/product-grid-items';
|
||||||
|
|
||||||
export const runtime = 'edge';
|
export const runtime = 'edge';
|
||||||
|
export const revalidate = 30;
|
||||||
|
|
||||||
export async function generateMetadata({
|
export async function generateMetadata({
|
||||||
params
|
params
|
||||||
|
Loading…
x
Reference in New Issue
Block a user