Removes target=_blank and small banner redirect tweak (#14548)

This commit is contained in:
Fernando Valverde 2021-09-01 08:27:24 -06:00 committed by GitHub
parent 9c1cf476ae
commit 49efd6e41d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,16 +82,13 @@ export const RuntimeBanner = () => {
}
const targetPath = `https://${window.location.host}/r/mobile?deep_link=${window.location.pathname}`;
const targetURL = `https://udl.forem.com/?r=${encodeURIComponent(
targetPath,
)}`;
const targetURL = `https://udl.forem.com/${encodeURIComponent(targetPath)}`;
return (
<div class="runtime-banner">
<a
href={targetURL}
class="flex items-center flex-1"
target="_blank"
rel="noopener noreferrer"
>
<svg