From 537257ee1715ea39e947ffcc7049bf2faff84f53 Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Tue, 21 Apr 2026 19:14:10 +0900 Subject: [PATCH] [#922] Fix Vercel deploy: change OG route from Edge to Node.js runtime MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #896 refactored lib/usd-price.ts to use Promise.any() for parallel price fetching and added a DB fallback import. This caused the Edge bundler (Turbopack) to include mint.club-v2-sdk in the Edge bundle, which Vercel rejects as an unsupported module. The OG image route doesn't need Edge runtime — switching to Node.js resolves the deploy failure that has blocked all deployments since Apr 15. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/app/story/[storylineId]/og/route.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/story/[storylineId]/og/route.tsx b/src/app/story/[storylineId]/og/route.tsx index 604ad8c4..94ce60b7 100644 --- a/src/app/story/[storylineId]/og/route.tsx +++ b/src/app/story/[storylineId]/og/route.tsx @@ -8,7 +8,7 @@ import { formatPrice } from "../../../../../lib/format"; import { truncateAddress } from "../../../../../lib/utils"; import { getPlotUsdPrice, formatUsdValue } from "../../../../../lib/usd-price"; -export const runtime = "edge"; +export const runtime = "nodejs"; async function loadFont(): Promise { try {