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

Update src/libpoketube/init/pages-video.js

This commit is contained in:
ashley 2024-09-07 12:43:01 +00:00
parent f3a5c690e3
commit 93898da514

View file

@ -228,7 +228,9 @@ module.exports = function (app, config, renderTemplate) {
const inv_vid = data?.vid;
const desc = data?.desc || "";
if(k.Error) res.send("error")
if (k?.Error) {
return res.status(404).send("404: Not Found");
}
let d = false;
if (desc !== "[object Object]") {