From 9d8de3d898602d4ee27659d280457bc882215e78 Mon Sep 17 00:00:00 2001 From: ashley Date: Sat, 14 Sep 2024 07:30:18 +0000 Subject: [PATCH] bwaa --- src/libpoketube/init/pages-api.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/libpoketube/init/pages-api.js b/src/libpoketube/init/pages-api.js index 61428a40..18c8fd80 100644 --- a/src/libpoketube/init/pages-api.js +++ b/src/libpoketube/init/pages-api.js @@ -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);