diff options
author | ManeraKai <manerakai@protonmail.com> | 2022-12-27 18:01:24 +0300 |
---|---|---|
committer | ManeraKai <manerakai@protonmail.com> | 2022-12-27 18:01:27 +0300 |
commit | a5854a388f703ffed0f1e2699722b36e4daa6c17 (patch) | |
tree | c1e93a232b9bfc500656a1385f660dda96f6249e /src/assets/javascripts | |
parent | Shift to OpenCollective (diff) | |
download | libredirect-a5854a388f703ffed0f1e2699722b36e4daa6c17.zip |
Added #m to twitter links https://github.com/libredirect/libredirect/issues/532
Diffstat (limited to 'src/assets/javascripts')
-rw-r--r-- | src/assets/javascripts/services.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js index 01523d52..d763bf6a 100644 --- a/src/assets/javascripts/services.js +++ b/src/assets/javascripts/services.js @@ -169,7 +169,7 @@ function redirect(url, type, initiator, forceRedirection) { if (url.pathname.split("/").includes("tweets")) return `${randomInstance}${url.pathname.replace("/tweets", "")}${search}` if (url.host == "t.co") return `${randomInstance}/t.co${url.pathname}` - return `${randomInstance}${url.pathname}${search}` + return `${randomInstance}${url.pathname}${search}#m` case "yattee": return url.href.replace(/^https?:\/{2}/, "yattee://") case "freetube": |