From 25af8a5c7e8adba83700b96a34f9e1c82ceda933 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Mon, 11 Sep 2023 09:12:31 -0500 Subject: [PATCH] Render home page statically --- 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 3736e778..4e4a9209 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 runtime = 'edge'; +export const dynamic = 'force-static'; export async function generateMetadata(): Promise { const photos = await getPhotos();