mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 16:17:52 +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;
|
var vidurl = u.losslessurl;
|
||||||
}
|
}
|
||||||
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (req.useragent.source.includes("Pardus")) {
|
if (req.useragent.source.includes("Pardus")) {
|
||||||
var vidurl = "https://tube-proxy.ashley0143.xyz";
|
var vidurl = "https://tube-proxy.ashley0143.xyz";
|
||||||
|
@ -297,6 +295,7 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
useragent: req.useragent,
|
useragent: req.useragent,
|
||||||
verify,
|
verify,
|
||||||
discord,
|
discord,
|
||||||
|
turntomins,
|
||||||
twitch,
|
twitch,
|
||||||
reddit,
|
reddit,
|
||||||
secure,
|
secure,
|
||||||
|
|
Loading…
Reference in a new issue