Update src/assets/javascripts/services.js
Changing "PokeTube" to "Poke"
This commit is contained in:
parent
f99f6218a6
commit
dd07d574cd
|
@ -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"],
|
||||||
|
|
Loading…
Reference in New Issue