Update src/assets/javascripts/services.js

Changing "PokeTube" to "Poke"
This commit is contained in:
Binzy_Boi 2024-10-07 05:04:26 +00:00
parent f99f6218a6
commit dd07d574cd
1 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ function rewrite(url, originUrl, frontend, randomInstance) {
case "freetubePwa": case "freetubePwa":
url.searchParams.delete("si") url.searchParams.delete("si")
return "freetube://" + url.href return "freetube://" + url.href
case "poketube": { case "poke": {
url.searchParams.delete("si") url.searchParams.delete("si")
if (url.pathname.startsWith("/channel")) { if (url.pathname.startsWith("/channel")) {
const reg = /\/channel\/(.*)\/?$/.exec(url.pathname) const reg = /\/channel\/(.*)\/?$/.exec(url.pathname)
@ -768,7 +768,7 @@ const defaultInstances = {
pipedMaterial: ["https://piped-material.xn--17b.net"], pipedMaterial: ["https://piped-material.xn--17b.net"],
cloudtube: ["https://tube.cadence.moe"], cloudtube: ["https://tube.cadence.moe"],
lightTube: ["https://tube.kuylar.dev"], lightTube: ["https://tube.kuylar.dev"],
poketube: ["https://poketube.fun"], poke: ["https://poketube.fun"],
proxiTok: ["https://proxitok.pabloferreiro.es"], proxiTok: ["https://proxitok.pabloferreiro.es"],
redlib: ["https://safereddit.com"], redlib: ["https://safereddit.com"],
eddrit: ["https://eddrit.com"], eddrit: ["https://eddrit.com"],