mirror of
https://codeberg.org/ashley/poke
synced 2025-04-05 17:17:59 +00:00
add check if its usa or not
This commit is contained in:
parent
a55e44fb88
commit
8cc28e7d40
@ -240,12 +240,14 @@ 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;
|
||||||
}
|
}
|
||||||
@ -254,7 +256,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||||||
var vidurl = "https://yt.sudovanilla.com";
|
var vidurl = "https://yt.sudovanilla.com";
|
||||||
var isvidious = true;
|
var isvidious = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
let badges = "";
|
let badges = "";
|
||||||
let comments = "";
|
let comments = "";
|
||||||
let nnn = "";
|
let nnn = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user