diff --git a/src/proxy.ts b/src/proxy.ts index 39e30ed..f84a536 100644 --- a/src/proxy.ts +++ b/src/proxy.ts @@ -28,6 +28,7 @@ export function createProxy(isHealthy: () => boolean, isRunning: () => boolean) method: req.method, headers: req.headers, body, + redirect: 'manual', }).then((r) => { // Bun auto-decompresses gzip but leaves content-encoding header. // Strip it so the next proxy layer doesn't try to decompress again.