fix: update duplex type assertion in buildRelayRequest function
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user