add revalidation timeframes

This commit is contained in:
Sol Irvine
2023-10-08 21:20:35 +09:00
parent 787d7e7912
commit 1d83ea4042
16 changed files with 23 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ import Image from 'next/image';
import Link from 'next/link';
export const runtime = 'edge';
export const revalidate = 43200; // 12 hours in seconds
export const revalidate = 300; // 5 minutes in seconds
export async function generateMetadata({
params