Fixed initial requst URL lost across redirections.
This commit is contained in:
parent
4061eaab52
commit
d9a903172f
|
@ -257,7 +257,7 @@ var RequestGuard = (() => {
|
||||||
let redirected = pendingRequests.get(requestId);
|
let redirected = pendingRequests.get(requestId);
|
||||||
let initialUrl = redirected ? redirected.initialUrl : url;
|
let initialUrl = redirected ? redirected.initialUrl : url;
|
||||||
pendingRequests.set(requestId, {
|
pendingRequests.set(requestId, {
|
||||||
url, redirected,
|
initialUrl, url, redirected,
|
||||||
onCompleted: new Set(),
|
onCompleted: new Set(),
|
||||||
});
|
});
|
||||||
return redirected;
|
return redirected;
|
||||||
|
|
Loading…
Reference in New Issue