mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-13 02:58:12 +01:00
fix euproxy lol
This commit is contained in:
parent
2fda016353
commit
402549e132
1 changed files with 3 additions and 4 deletions
|
@ -235,10 +235,8 @@ module.exports = function (app, config, renderTemplate) {
|
|||
var vidurl = u.losslessurl;
|
||||
}
|
||||
|
||||
if (!inv_vid?.allowedRegions?.includes("US")) {
|
||||
var vidurl = "https://eu-proxy.poketube.fun";
|
||||
var isvidious = true;
|
||||
}
|
||||
var vidurl = "https://eu-proxy.poketube.fun";
|
||||
var isvidious = true;
|
||||
|
||||
if (req.useragent.source.includes("Pardus")) {
|
||||
var vidurl = "https://tube-proxy.ashley0143.xyz";
|
||||
|
@ -297,6 +295,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
useragent: req.useragent,
|
||||
verify,
|
||||
discord,
|
||||
turntomins,
|
||||
twitch,
|
||||
reddit,
|
||||
secure,
|
||||
|
|
Loading…
Reference in a new issue