From cfb4a23c9da80d448d6ea1490b0234ecef7934a0 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Sat, 25 Apr 2026 18:54:15 +0200 Subject: [PATCH] fix: remove unnecessary runtime config for Node.js in proxy settings --- proxy.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/proxy.ts b/proxy.ts index c1efa1d7..70087666 100644 --- a/proxy.ts +++ b/proxy.ts @@ -88,9 +88,8 @@ export async function proxy(request: NextRequest) { return response; } +// Next 16's Proxy always runs on Node.js runtime, so no `runtime` config is +// allowed (or needed) — we can read the plugin registry from disk directly. export const config = { matcher: ["/((?!api|_next|.*\\..*).*)"], - // Read the plugin registry from disk to compute the dynamic frame-src - // allowlist. Edge runtime can't access the filesystem. - runtime: "nodejs", };