mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 07:58:13 +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 random = splash[Math.floor(Math.random() * splash.length)];
|
||||||
const browser = req.useragent.browser;
|
const browser = req.useragent.browser;
|
||||||
const isOldWindows = (uaos === "Windows 7" || uaos === "Windows 8") && browser === "Firefox";
|
const isOldWindows = (uaos === "Windows 7" || uaos === "Windows 8") && browser === "Firefox";
|
||||||
|
var proxyurl = config.p_url;
|
||||||
|
|
||||||
const secure = [
|
const secure = [
|
||||||
"poketube.fun",
|
"poketube.fun",
|
||||||
|
@ -136,6 +137,7 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
secure,
|
secure,
|
||||||
verify,
|
verify,
|
||||||
isOldWindows,
|
isOldWindows,
|
||||||
|
proxyurl,
|
||||||
random
|
random
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue