From acb2cd0db3bcedf204e6184993b634b83f602cac Mon Sep 17 00:00:00 2001 From: ashley Date: Wed, 21 Aug 2024 12:22:40 +0000 Subject: [PATCH] remove censorship :3 --- src/libpoketube/init/pages-api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpoketube/init/pages-api.js b/src/libpoketube/init/pages-api.js index dc7afafe..08f3da40 100644 --- a/src/libpoketube/init/pages-api.js +++ b/src/libpoketube/init/pages-api.js @@ -205,7 +205,7 @@ app.use("/sb/i/:v/:imagePath/:img", async function (req, res) { f.body.pipe(res); }); - app.get("/api/improving-poke/getsugesstions", async (req, 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}`; @@ -214,7 +214,7 @@ app.use("/sb/i/:v/:imagePath/:img", async function (req, res) { method: req.method, }); - f.body.pipe(res); + f.body.pipe(res.replace("retawded","retarded")); }); app.get("/api/redirect", async (req, res) => {