Skip to content

Commit f2f4e67

Browse files
committed
Added Offtiktok #1018
1 parent fc7a1c5 commit f2f4e67

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/assets/javascripts/services.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ function rewrite(url, originUrl, frontend, randomInstance, type) {
297297
}
298298
return `${randomInstance}${url.pathname}${url.search}${url.hash}`
299299
}
300+
case "offtiktok":
300301
case "proxiTok":
301302
if (url.pathname.startsWith("/email")) return randomInstance
302303
return `${randomInstance}${url.pathname}${url.search}`
@@ -853,6 +854,7 @@ const defaultInstances = {
853854
lightTube: ["https://tube.kuylar.dev"],
854855
poketube: ["https://poketube.fun"],
855856
proxiTok: ["https://proxitok.pabloferreiro.es"],
857+
offtiktok: ["https://www.offtiktok.com"],
856858
redlib: ["https://safereddit.com"],
857859
eddrit: ["https://eddrit.com"],
858860
troddit: ["https://www.troddit.com"],

src/config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,12 @@
375375
"instanceList": true,
376376
"url": "https://github.com/pablouser1/ProxiTok",
377377
"localhost": true
378+
},
379+
"offtiktok": {
380+
"name": "Offtiktok",
381+
"instanceList": true,
382+
"url": "https://github.com/MarsHeer/offtiktok",
383+
"localhost": false
378384
}
379385
},
380386
"targets": [

0 commit comments

Comments
 (0)