From 460b83bd31d12b81e777b9a4b2195ce946d44424 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Thu, 7 Sep 2023 09:04:36 -0500 Subject: [PATCH] Remove 'force-static' from edge functions --- src/app/(isr)/grid/page.tsx | 1 - src/app/(isr)/page.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/src/app/(isr)/grid/page.tsx b/src/app/(isr)/grid/page.tsx index 18c3e6cb..96695b1b 100644 --- a/src/app/(isr)/grid/page.tsx +++ b/src/app/(isr)/grid/page.tsx @@ -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 { const photos = await getPhotos(); diff --git a/src/app/(isr)/page.tsx b/src/app/(isr)/page.tsx index e7cc0590..f158503e 100644 --- a/src/app/(isr)/page.tsx +++ b/src/app/(isr)/page.tsx @@ -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 { const photos = await getPhotos();