From 1e02138e359985693f30f21f2898215d37cc50c1 Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Thu, 9 Feb 2023 11:44:09 +0300 Subject: [PATCH] Bypassed `\/email` pathnames for tiktok https://codeberg.org/LibRedirect/libredirect/issues/64 --- src/assets/javascripts/services.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js index 9cb1290..4880874 100644 --- a/src/assets/javascripts/services.js +++ b/src/assets/javascripts/services.js @@ -477,7 +477,8 @@ function redirect(url, type, initiator, forceRedirection) { for (let i = 0; i < GETArguments.length; i++) link += (i == 0 ? "?" : "&") + GETArguments[i][0] + "=" + GETArguments[i][1] return link } - case "suds": { + case "proxiTok": { + if (url.pathname.startsWith('/email')) return return `${randomInstance}${url.pathname}${url.search}` } default: {