Render home page statically

This commit is contained in:
Sam Becker 2023-09-11 09:12:31 -05:00
parent adb0669ab6
commit 25af8a5c7e

View File

@ -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<Metadata> {
const photos = await getPhotos();