mirror of
https://github.com/vercel/commerce.git
synced 2025-07-25 11:11:24 +00:00
fix: remove revalidate from cart requests
This commit is contained in:
@@ -5,7 +5,7 @@ import { notFound } from 'next/navigation';
|
||||
|
||||
export const runtime = 'edge';
|
||||
|
||||
export const revalidate = 43200; // 12 hours in seconds
|
||||
export const revalidate = parseInt(process.env.REVALIDATE_WINDOW ?? `${60 * 60 * 12}`); // 12 hours
|
||||
|
||||
export async function generateMetadata({
|
||||
params
|
||||
|
Reference in New Issue
Block a user