fix #7164: firefox back button after a 402 redirect
This commit is contained in:
parent
65eb64cd07
commit
88bb943672
@ -233,7 +233,7 @@ function makeSyncWalletRedirect(
|
|||||||
const tab = await getTab(tabId);
|
const tab = await getTab(tabId);
|
||||||
if (tab.url === oldUrl) {
|
if (tab.url === oldUrl) {
|
||||||
console.log("redirecting to", innerUrl.href);
|
console.log("redirecting to", innerUrl.href);
|
||||||
chrome.tabs.update(tabId, { url: innerUrl.href });
|
chrome.tabs.update(tabId, { url: innerUrl.href, loadReplace: true } as any);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
doit();
|
doit();
|
||||||
|
Loading…
Reference in New Issue
Block a user