Update src/assets/javascripts/services.js
This commit is contained in:
parent
d8484a46c5
commit
885e9c3d52
|
@ -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 "poke": {
|
case "poketube": {
|
||||||
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"],
|
||||||
poke: ["https://poketube.fun"],
|
poketube: ["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