diff --git a/src/app/(static)/page.tsx b/src/app/(static)/page.tsx index 22ccedd0..2dc3e294 100644 --- a/src/app/(static)/page.tsx +++ b/src/app/(static)/page.tsx @@ -7,7 +7,8 @@ import PhotosEmptyState from '@/photo/PhotosEmptyState'; import { getPhotos, getPhotosCount } from '@/services/postgres'; import { Metadata } from 'next'; -export const runtime = 'edge'; +// Revalidate every 12 hours +export const revalidate = 43_200; export async function generateMetadata(): Promise { const photos = await getPhotos();