Skip to content

Commit

Permalink
Added Offtiktok #1018
Browse files Browse the repository at this point in the history
  • Loading branch information
ManeraKai committed Jan 20, 2025
1 parent fc7a1c5 commit f2f4e67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/assets/javascripts/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`
Expand Down Expand Up @@ -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"],
Expand Down
6 changes: 6 additions & 0 deletions src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit f2f4e67

Please sign in to comment.