about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/assets/javascripts/services.js2
-rw-r--r--src/config.json6
2 files changed, 8 insertions, 0 deletions
diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js
index c602b917..31325574 100644
--- a/src/assets/javascripts/services.js
+++ b/src/assets/javascripts/services.js
@@ -297,6 +297,7 @@ function rewrite(url, originUrl, frontend, randomInstance, type) {
       }
       return `${randomInstance}${url.pathname}${url.search}${url.hash}`
     }
+    case "offtiktok":
     case "proxiTok":
       if (url.pathname.startsWith("/email")) return randomInstance
       return `${randomInstance}${url.pathname}${url.search}`
@@ -853,6 +854,7 @@ const defaultInstances = {
   lightTube: ["https://tube.kuylar.dev"],
   poketube: ["https://poketube.fun"],
   proxiTok: ["https://proxitok.pabloferreiro.es"],
+  offtiktok: ["https://www.offtiktok.com"],
   redlib: ["https://safereddit.com"],
   eddrit: ["https://eddrit.com"],
   troddit: ["https://www.troddit.com"],
diff --git a/src/config.json b/src/config.json
index 2f779b79..4fb40ae8 100644
--- a/src/config.json
+++ b/src/config.json
@@ -375,6 +375,12 @@
           "instanceList": true,
           "url": "https://github.com/pablouser1/ProxiTok",
           "localhost": true
+        },
+        "offtiktok": {
+          "name": "Offtiktok",
+          "instanceList": true,
+          "url": "https://github.com/MarsHeer/offtiktok",
+          "localhost": false
         }
       },
       "targets": [