From c767a39b2c831826512a8241d96340a72d0f8119 Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Tue, 19 Apr 2022 16:52:22 +0300 Subject: [PATCH] Updating ProxiTok pathname scheme #207 --- src/assets/javascripts/helpers/tiktok.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/javascripts/helpers/tiktok.js b/src/assets/javascripts/helpers/tiktok.js index 44f46ba..494b57a 100644 --- a/src/assets/javascripts/helpers/tiktok.js +++ b/src/assets/javascripts/helpers/tiktok.js @@ -110,7 +110,7 @@ function redirect(url, type) { let pathName = url.pathname.replace(/@.*\/(?=video)/, ""); - return `${randomInstance}${pathName}`; + return `${randomInstance}${url.pathname}`; } function reverse(url) {