Remove 'force-static' from edge functions

This commit is contained in:
Sam Becker 2023-09-07 09:04:36 -05:00
parent 1c2a5cc569
commit 460b83bd31
2 changed files with 0 additions and 2 deletions

View File

@ -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();

View File

@ -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();