mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 03:14:40 -05:00
bwaa
This commit is contained in:
parent
5dc6a9e435
commit
9d8de3d898
1 changed files with 1 additions and 11 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue