mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 08:34:42 -05:00
fix some issues :p
This commit is contained in:
parent
814e894ba3
commit
2bff8eb46f
1 changed files with 65 additions and 56 deletions
|
@ -260,11 +260,14 @@ module.exports = function (app, config, renderTemplate) {
|
|||
|
||||
if (isvld) {
|
||||
core.video(v).then((data) => {
|
||||
if (data) {
|
||||
if (data.video) {
|
||||
const k = data.video;
|
||||
const json = data.json;
|
||||
const engagement = data.engagement;
|
||||
var inv_comments = data.comments;
|
||||
const inv_vid = data.vid;
|
||||
if (json) {
|
||||
if (json.Title) {
|
||||
if (!data.comments) inv_comments = "Disabled";
|
||||
|
||||
|
@ -319,12 +322,18 @@ module.exports = function (app, config, renderTemplate) {
|
|||
lyrics: "",
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
res.redirect("/");
|
||||
}
|
||||
});
|
||||
} else {
|
||||
res.redirect("/");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
app.get("/music", async function (req, res) {
|
||||
/*
|
||||
* QUERYS
|
||||
|
|
Loading…
Reference in a new issue