diff options
-rw-r--r-- | src/bun.js/webcore/response.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bun.js/webcore/response.zig b/src/bun.js/webcore/response.zig index 4a10d580f..7005888bc 100644 --- a/src/bun.js/webcore/response.zig +++ b/src/bun.js/webcore/response.zig @@ -729,7 +729,7 @@ pub const Fetch = struct { if (fetch_tasklet.request_body.store()) |store| { store.ref(); } - + fetch_tasklet.http.?.* = HTTPClient.AsyncHTTP.init( allocator, fetch_options.method, @@ -745,7 +745,7 @@ pub const Fetch = struct { ).init( fetch_tasklet, ), - null + jsc_vm.bundler.env.getHttpProxy(fetch_options.url) ); if (!fetch_options.follow_redirects) { |