mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 08:14:38 -05:00
hehe add erorr
This commit is contained in:
parent
a1fdb897c1
commit
557950ffe3
1 changed files with 5 additions and 6 deletions
|
@ -220,16 +220,15 @@ module.exports = function (app, config, renderTemplate) {
|
|||
let badges = "";
|
||||
let comments = "";
|
||||
let nnn = "";
|
||||
if (!core.video(v).b && !v) {
|
||||
badges = "";
|
||||
comments = "";
|
||||
nnn = "";
|
||||
}
|
||||
|
||||
|
||||
let url;
|
||||
if (q === "medium") {
|
||||
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", {
|
||||
color: data.color,
|
||||
|
|
Loading…
Reference in a new issue