mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-26 05:08:39 +01:00
remove censorship :3
This commit is contained in:
parent
37745ccd05
commit
acb2cd0db3
1 changed files with 2 additions and 2 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue