Switch home page to dynamic/edge

This commit is contained in:
Sam Becker 2023-09-11 09:23:03 -05:00
parent 25af8a5c7e
commit de2e1d1629

View File

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