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 }, }; }