Remove 'force-static' from /grid
This commit is contained in:
parent
88429b97f4
commit
4ba2f1cd0c
@ -13,8 +13,6 @@ import {
|
|||||||
import PhotoGridSidebar from '@/photo/PhotoGridSidebar';
|
import PhotoGridSidebar from '@/photo/PhotoGridSidebar';
|
||||||
import { getPhotoSidebarDataCached } from '@/photo/data';
|
import { getPhotoSidebarDataCached } from '@/photo/data';
|
||||||
|
|
||||||
export const dynamic = 'force-static';
|
|
||||||
|
|
||||||
export async function generateMetadata(): Promise<Metadata> {
|
export async function generateMetadata(): Promise<Metadata> {
|
||||||
const photos = await getPhotosCached({ limit: MAX_PHOTOS_TO_SHOW_OG });
|
const photos = await getPhotosCached({ limit: MAX_PHOTOS_TO_SHOW_OG });
|
||||||
return generateOgImageMetaForPhotos(photos);
|
return generateOgImageMetaForPhotos(photos);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user