chore: remove dynamic route generation for OG image API

This commit is contained in:
Mauricio Siu
2025-03-02 21:25:13 -06:00
parent 26cad40c68
commit 630b42a80e

View File

@@ -2,8 +2,6 @@ import { getPost } from "@/lib/ghost";
import { generateOGImage } from "@/lib/og-image";
import type { NextRequest } from "next/server";
export const dynamic = "force-dynamic";
export async function GET(request: NextRequest) {
try {
const { searchParams } = new URL(request.url);