mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 15:08:26 +01:00
bump version :3
This commit is contained in:
parent
d21547c5ab
commit
29cf785969
1 changed files with 5 additions and 2 deletions
|
@ -20,8 +20,8 @@ const {
|
||||||
|
|
||||||
const pkg = require("../../../package.json");
|
const pkg = require("../../../package.json");
|
||||||
|
|
||||||
const ver = "v22.1220-cA9aBA-stable-git"
|
const ver = "v22.1224-cMrvBa-stable-git"
|
||||||
const versionnumber = "106"
|
const versionnumber = "107"
|
||||||
|
|
||||||
const response = {
|
const response = {
|
||||||
pt_version: ver,
|
pt_version: ver,
|
||||||
|
@ -86,9 +86,11 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
var format = "mp4";
|
var format = "mp4";
|
||||||
var q = "22";
|
var q = "22";
|
||||||
if (req.query.q) q = req.query.q;
|
if (req.query.q) q = req.query.q;
|
||||||
|
|
||||||
if (req.query.f) {
|
if (req.query.f) {
|
||||||
var format = "mp3";
|
var format = "mp3";
|
||||||
}
|
}
|
||||||
|
|
||||||
var fetching = await fetcher(v);
|
var fetching = await fetcher(v);
|
||||||
|
|
||||||
const json = fetching.video.Player;
|
const json = fetching.video.Player;
|
||||||
|
@ -133,6 +135,7 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
.then((json) => JSON.parse(json));
|
.then((json) => JSON.parse(json));
|
||||||
|
|
||||||
res.json(f);
|
res.json(f);
|
||||||
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue