mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 22:38:14 +01:00
hehe add erorr
This commit is contained in:
parent
b50c470c2a
commit
ce951e81ea
1 changed files with 5 additions and 6 deletions
|
@ -220,17 +220,16 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
let badges = "";
|
let badges = "";
|
||||||
let comments = "";
|
let comments = "";
|
||||||
let nnn = "";
|
let nnn = "";
|
||||||
if (!core.video(v).b && !v) {
|
|
||||||
badges = "";
|
|
||||||
comments = "";
|
|
||||||
nnn = "";
|
|
||||||
}
|
|
||||||
|
|
||||||
let url;
|
let url;
|
||||||
if (q === "medium") {
|
if (q === "medium") {
|
||||||
url = `https://inv.vern.cc/latest_version?id=${v}&itag=18&local=true`;
|
url = `https://inv.vern.cc/latest_version?id=${v}&itag=18&local=true`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(inv_vid?.error === "The uploader has not made this video available in your country"){
|
||||||
|
res.send("error : " + inv_vid.error + " please refresh the page please qt ")
|
||||||
|
}
|
||||||
|
|
||||||
renderTemplate(res, req, "poketube.ejs", {
|
renderTemplate(res, req, "poketube.ejs", {
|
||||||
color: data.color,
|
color: data.color,
|
||||||
color2: data.color2,
|
color2: data.color2,
|
||||||
|
|
Loading…
Reference in a new issue