about summary refs log tree commit diff stats
path: root/src/pages
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2022-06-10 21:03:38 +0300
committerManeraKai <manerakai@protonmail.com>2022-06-10 21:03:48 +0300
commitfd844da5e048d6ff476f41a4300ac502172639f5 (patch)
tree5a7bf802d8328bfc3e60ee18afdb0199d338b6fe /src/pages
parentSupporting more cookie settings for nitter #325 (diff)
downloadlibredirect-fd844da5e048d6ff476f41a4300ac502172639f5.zip
Added Switch Instance to proxiTok & fixed instance fetching for it #326
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/background/background.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pages/background/background.js b/src/pages/background/background.js
index e1ce8482..892f019d 100644
--- a/src/pages/background/background.js
+++ b/src/pages/background/background.js
@@ -174,6 +174,7 @@ async function redirectOfflineInstance(url, tabId) {
   if (!newUrl) newUrl = await searchHelper.switchInstance(url);
   if (!newUrl) newUrl = await translateHelper.switchInstance(url);
   if (!newUrl) newUrl = await mediumHelper.switchInstance(url);
+  if (!newUrl) newUrl = await tiktokHelper.switchInstance(url);
   if (!newUrl) newUrl = await imgurHelper.switchInstance(url);
   if (!newUrl) newUrl = await wikipediaHelper.switchInstance(url);
   if (!newUrl) newUrl = await peertubeHelper.switchInstance(url);