Removes target=_blank and small banner redirect tweak (#14548)
This commit is contained in:
parent
9c1cf476ae
commit
49efd6e41d
1 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue