1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 03:14:40 -05:00
This commit is contained in:
ashley 2024-09-14 07:30:18 +00:00
parent 5dc6a9e435
commit 9d8de3d898

View file

@ -295,17 +295,7 @@ app.use("/sb/i/:v/:imagePath/:img", async function (req, res) {
f.body.pipe(res); f.body.pipe(res);
}); });
app.get("/api/improving-poke/suggestions", async (req, res) => {
const query = req.query.q;
let url = `https://invid-api.poketube.fun/bHj665PpYhUdPWuKPfZuQGoX/api/v1/search/suggestions?q=${query}`;
let f = await modules.fetch(url, {
method: req.method,
});
f.body.pipe(res);
});
app.get("/api/redirect", async (req, res) => { app.get("/api/redirect", async (req, res) => {
const red_url = atob(req.query.u); const red_url = atob(req.query.u);