From d526ef97a456f96c35d599ef845e4c75b0048638 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Sun, 24 Dec 2023 21:15:12 -0500 Subject: [PATCH] Move photo detail page to edge runtime --- src/app/(static)/p/[photoId]/layout.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/(static)/p/[photoId]/layout.tsx b/src/app/(static)/p/[photoId]/layout.tsx index 19a26fc9..4fdde655 100644 --- a/src/app/(static)/p/[photoId]/layout.tsx +++ b/src/app/(static)/p/[photoId]/layout.tsx @@ -13,6 +13,8 @@ import { import PhotoDetailPage from '@/photo/PhotoDetailPage'; import { getPhotoCached, getPhotosNearIdCached } from '@/cache'; +export const runtime = 'edge'; + interface PhotoProps { params: { photoId: string } }