fix: update duplex type assertion in buildRelayRequest function

This commit is contained in:
MythEclipse
2026-05-07 21:07:39 +07:00
parent b11763a7ab
commit 9d1ef77cda
+2 -2
View File
@@ -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 {