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);
});
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) => {
const red_url = atob(req.query.u);