Render home page statically
This commit is contained in:
parent
adb0669ab6
commit
25af8a5c7e
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user