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 {