From 9d1ef77cda9826eff9e858b6384c5f806644e210 Mon Sep 17 00:00:00 2001 From: MythEclipse Date: Thu, 7 May 2026 21:07:39 +0700 Subject: [PATCH] fix: update duplex type assertion in buildRelayRequest function --- src/lib/relay-utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/relay-utils.ts b/src/lib/relay-utils.ts index c052c24..9c3c344 100644 --- a/src/lib/relay-utils.ts +++ b/src/lib/relay-utils.ts @@ -28,8 +28,8 @@ export function buildRelayRequest( method: req.method, headers, body: shouldSendBody(req.method) ? req.body : undefined, - duplex: "half" as const, - }; + duplex: "half", + } as any; } export function isAllowedTarget(url: string): boolean {