This commit is contained in:
ashley 2024-09-18 16:01:07 +00:00
parent e5bf497462
commit bda8921b34

View file

@ -314,12 +314,7 @@ module.exports = function (app, config, renderTemplate) {
if (req.useragent.source.includes("Nintendo WiiU")) if (req.useragent.source.includes("Nintendo WiiU"))
res.redirect("/lite?v=" + req.query.v); res.redirect("/lite?v=" + req.query.v);
if(!inv_vid.allowedRegions.includes("US") && !inv_vid.allowedRegions.includes("PL")) {
renderTemplate(res, req, "video-error.ejs", {
v,
err_reason:""
});
}
if (req.query.from === "short") var shortsui = true; if (req.query.from === "short") var shortsui = true;