From 2ee3e34f136d1b67dbaeec7232febcc4a5fc892f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Klomp?= Date: Sat, 30 Nov 2024 13:03:52 +0100 Subject: [PATCH] Use responseURL from result.request --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index 51f5285..53656ae 100644 --- a/src/utils.js +++ b/src/utils.js @@ -132,7 +132,7 @@ async function makeResponse(result, config) { data, headers, config, - request: { responseURL: config.url } + request: { responseURL: result.request?.responseURL || config.url }, }; }