mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-23 00:37:49 +01:00
add check if its usa or not
This commit is contained in:
parent
a55e44fb88
commit
8cc28e7d40
1 changed files with 4 additions and 2 deletions
|
@ -241,11 +241,13 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
var vidurl = u.url;
|
var vidurl = u.url;
|
||||||
var isvidious = u.isInvidiousURL;
|
var isvidious = u.isInvidiousURL;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (inv_vid?.genre === "Music") {
|
if (inv_vid?.genre === "Music") {
|
||||||
var vidurl = u.losslessurl;
|
var vidurl = u.losslessurl;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (inv_vid.author.endsWith(" - Topic")) {
|
if (!inv_vid.allowedRegions.includes("US")) {
|
||||||
var vidurl = "https://eu-proxy.poketube.fun";
|
var vidurl = "https://eu-proxy.poketube.fun";
|
||||||
var isvidious = true;
|
var isvidious = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue