From 5decc372736cc0a23bb26b20e736d0c2b539b546 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Mon, 1 Jan 2024 11:48:39 -0500 Subject: [PATCH] Move /sets to edge runtime to prevent stale pages --- src/app/(static)/sets/page.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/(static)/sets/page.tsx b/src/app/(static)/sets/page.tsx index dfcca476..bc76bb52 100644 --- a/src/app/(static)/sets/page.tsx +++ b/src/app/(static)/sets/page.tsx @@ -9,6 +9,8 @@ import { MAX_PHOTOS_TO_SHOW_OG } from '@/photo/image-response'; import { PATH_GRID } from '@/site/paths'; import { Metadata } from 'next'; +export const runtime = 'edge'; + export async function generateMetadata(): Promise { const photos = await getPhotosCached({ limit: MAX_PHOTOS_TO_SHOW_OG }); return generateOgImageMetaForPhotos(photos);