mirror of
https://github.com/Dokploy/website
synced 2025-06-26 18:16:01 +00:00
chore: remove dynamic route generation for OG image API
This commit is contained in:
@@ -2,8 +2,6 @@ import { getPost } from "@/lib/ghost";
|
|||||||
import { generateOGImage } from "@/lib/og-image";
|
import { generateOGImage } from "@/lib/og-image";
|
||||||
import type { NextRequest } from "next/server";
|
import type { NextRequest } from "next/server";
|
||||||
|
|
||||||
export const dynamic = "force-dynamic";
|
|
||||||
|
|
||||||
export async function GET(request: NextRequest) {
|
export async function GET(request: NextRequest) {
|
||||||
try {
|
try {
|
||||||
const { searchParams } = new URL(request.url);
|
const { searchParams } = new URL(request.url);
|
||||||
|
|||||||
Reference in New Issue
Block a user