1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 05:14:39 -05:00
This commit is contained in:
ashley 2024-08-01 14:25:29 +00:00
parent 538222e1a1
commit e0aa8cd3d5

View file

@ -193,6 +193,18 @@ app.use("/sb/i/:v/:imagePath/:img", async function (req, res) {
f.body.pipe(res); f.body.pipe(res);
}); });
app.get("/api/manifest/dash/id/:id", async (req, res) => {
const id = req.params.id;
let url = `https://invid-api.poketube.fun/bHj665PpYhUdPWuKPfZuQGoX/api/manifest/dash/id/${id}`;
let f = await modules.fetch(url, {
method: req.method,
});
f.body.pipe(res);
});
app.get("/api/improving-poke/getsugesstions", async (req, res) => { app.get("/api/improving-poke/getsugesstions", async (req, res) => {
const query = req.query.q; const query = req.query.q;