mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-01 07:57:24 +01:00
fix encryption owo
This commit is contained in:
parent
c133288d37
commit
d302e4291d
1 changed files with 25 additions and 18 deletions
|
@ -119,6 +119,10 @@ module.exports = function (app, config, renderTemplate) {
|
|||
let url;
|
||||
if (j_.URL != undefined) url = j_.URL;
|
||||
|
||||
if (json) {
|
||||
if (json.Title) {
|
||||
if (json.Channel.Name) {
|
||||
if (json.Description) {
|
||||
// json response
|
||||
const re = {
|
||||
main: {
|
||||
|
@ -137,6 +141,10 @@ module.exports = function (app, config, renderTemplate) {
|
|||
};
|
||||
|
||||
res.json(re);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
app.get("/watch", async function (req, res) {
|
||||
|
@ -333,7 +341,6 @@ module.exports = function (app, config, renderTemplate) {
|
|||
}
|
||||
});
|
||||
|
||||
|
||||
app.get("/music", async function (req, res) {
|
||||
/*
|
||||
* QUERYS
|
||||
|
|
Loading…
Reference in a new issue