Switch home page to dynamic/edge
This commit is contained in:
parent
25af8a5c7e
commit
de2e1d1629
@ -7,7 +7,7 @@ import PhotosEmptyState from '@/photo/PhotosEmptyState';
|
|||||||
import { getPhotos, getPhotosCount } from '@/services/postgres';
|
import { getPhotos, getPhotosCount } from '@/services/postgres';
|
||||||
import { Metadata } from 'next';
|
import { Metadata } from 'next';
|
||||||
|
|
||||||
export const dynamic = 'force-static';
|
export const runtime = 'edge';
|
||||||
|
|
||||||
export async function generateMetadata(): Promise<Metadata> {
|
export async function generateMetadata(): Promise<Metadata> {
|
||||||
const photos = await getPhotos();
|
const photos = await getPhotos();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user