mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-28 18:29:03 +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;
|
let url;
|
||||||
if (j_.URL != undefined) url = j_.URL;
|
if (j_.URL != undefined) url = j_.URL;
|
||||||
|
|
||||||
|
if (json) {
|
||||||
|
if (json.Title) {
|
||||||
|
if (json.Channel.Name) {
|
||||||
|
if (json.Description) {
|
||||||
// json response
|
// json response
|
||||||
const re = {
|
const re = {
|
||||||
main: {
|
main: {
|
||||||
|
@ -137,6 +141,10 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
};
|
};
|
||||||
|
|
||||||
res.json(re);
|
res.json(re);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get("/watch", async function (req, res) {
|
app.get("/watch", async function (req, res) {
|
||||||
|
@ -333,7 +341,6 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
app.get("/music", async function (req, res) {
|
app.get("/music", async function (req, res) {
|
||||||
/*
|
/*
|
||||||
* QUERYS
|
* QUERYS
|
||||||
|
|
Loading…
Reference in a new issue