🍙 Redirect bug fix

- location.replace was running for the app too
This commit is contained in:
Shiba 2022-01-10 15:33:07 +00:00
parent 94cda17b99
commit 4653f77be4

View file

@ -67,6 +67,7 @@ async function redirectTo({ lbryPathname, platfrom, time }: Target) {
if (window.history.length === 1) window.close() if (window.history.length === 1) window.close()
else window.history.back() else window.history.back()
} }
else
location.replace(url.toString()) location.replace(url.toString())
} }