fix: remove revalidate from cart requests

This commit is contained in:
Victor Gerbrands
2023-05-11 16:36:48 +02:00
parent cd2db81bbb
commit 46395206b6
3 changed files with 6 additions and 4 deletions

View File

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