mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-24 04:28:03 +01:00
add proxyurl
This commit is contained in:
parent
b8dad3e52b
commit
ff45b70bcd
1 changed files with 2 additions and 0 deletions
|
@ -116,6 +116,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
const random = splash[Math.floor(Math.random() * splash.length)];
|
||||
const browser = req.useragent.browser;
|
||||
const isOldWindows = (uaos === "Windows 7" || uaos === "Windows 8") && browser === "Firefox";
|
||||
var proxyurl = config.p_url;
|
||||
|
||||
const secure = [
|
||||
"poketube.fun",
|
||||
|
@ -136,6 +137,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
secure,
|
||||
verify,
|
||||
isOldWindows,
|
||||
proxyurl,
|
||||
random
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue