From 5b39ad002b504f2580b03daef7dfeffd774012b2 Mon Sep 17 00:00:00 2001 From: mbaharip <62494292+mbahArip@users.noreply.github.com> Date: Thu, 25 May 2023 21:48:05 +0700 Subject: [PATCH] Add missing runtime that required for ImageResponse --- src/app/opengraph/[...path]/route.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/opengraph/[...path]/route.tsx b/src/app/opengraph/[...path]/route.tsx index dd626eb..00f9378 100644 --- a/src/app/opengraph/[...path]/route.tsx +++ b/src/app/opengraph/[...path]/route.tsx @@ -22,6 +22,8 @@ import { Constant } from "types/general/constant"; import apiConfig from "config/api.config"; import siteConfig from "config/site.config"; +export const runtime = "edge"; + export const alt = siteConfig.siteName; export const size = { width: 1200,