refactor: Remove runtime configuration from og route

This commit is contained in:
Bram Suurd
2024-08-25 19:40:29 +02:00
parent 3f5e2abd12
commit db116e72c2

View File

@@ -1,10 +1,6 @@
import { ImageResponse } from "next/og";
import { NextRequest } from "next/server";
export const config = {
runtime: "edge",
}
export default function handler(req: NextRequest) {
const { searchParams } = new URL(req.url);
const title = searchParams.get("title");