From de2e1d1629b9d0cdde352641fb63b4e1ebd21fef Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Mon, 11 Sep 2023 09:23:03 -0500 Subject: [PATCH] Switch home page to dynamic/edge --- src/app/(static)/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(static)/page.tsx b/src/app/(static)/page.tsx index 4e4a9209..3736e778 100644 --- a/src/app/(static)/page.tsx +++ b/src/app/(static)/page.tsx @@ -7,7 +7,7 @@ import PhotosEmptyState from '@/photo/PhotosEmptyState'; import { getPhotos, getPhotosCount } from '@/services/postgres'; import { Metadata } from 'next'; -export const dynamic = 'force-static'; +export const runtime = 'edge'; export async function generateMetadata(): Promise { const photos = await getPhotos();