mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 02:19:01 +01:00
stuff
This commit is contained in:
parent
e5bf497462
commit
bda8921b34
1 changed files with 1 additions and 6 deletions
|
@ -314,12 +314,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
if (req.useragent.source.includes("Nintendo WiiU"))
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue