Fixed initial requst URL lost across redirections.

This commit is contained in:
hackademix 2020-01-07 21:13:53 +01:00
parent 4061eaab52
commit d9a903172f
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ var RequestGuard = (() => {
let redirected = pendingRequests.get(requestId);
let initialUrl = redirected ? redirected.initialUrl : url;
pendingRequests.set(requestId, {
url, redirected,
initialUrl, url, redirected,
onCompleted: new Set(),
});
return redirected;