diff --git a/src/client.ts b/src/client.ts index 529f762..3685d4a 100644 --- a/src/client.ts +++ b/src/client.ts @@ -117,6 +117,7 @@ export function connect(options: TunnelOptions): Tunnel { method: req.method, headers: req.headers, body: hasBody ? req.body : undefined, + redirect: "manual", }) const contentType = response.headers.get("content-type")