1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 02:54:42 -05:00

add proxyurl

This commit is contained in:
ashley 2024-05-01 06:41:06 +00:00
parent b8dad3e52b
commit ff45b70bcd

View file

@ -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
});
};