Remove 'force-static' from edge functions
This commit is contained in:
parent
1c2a5cc569
commit
460b83bd31
@ -6,7 +6,6 @@ import { getPhotos } 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();
|
||||
|
||||
@ -6,7 +6,6 @@ import { getPhotos } 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