From 49efd6e41d0f9d8698129d69e0279f36ae973a6a Mon Sep 17 00:00:00 2001 From: Fernando Valverde Date: Wed, 1 Sep 2021 08:27:24 -0600 Subject: [PATCH] Removes target=_blank and small banner redirect tweak (#14548) --- app/javascript/runtimeBanner/RuntimeBanner.jsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/javascript/runtimeBanner/RuntimeBanner.jsx b/app/javascript/runtimeBanner/RuntimeBanner.jsx index 3a14c0656..40e25a583 100644 --- a/app/javascript/runtimeBanner/RuntimeBanner.jsx +++ b/app/javascript/runtimeBanner/RuntimeBanner.jsx @@ -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 (