mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 05:38:58 +01:00
Update src/libpoketube/init/pages-api.js
This commit is contained in:
parent
28767cb850
commit
9901c091bc
1 changed files with 2 additions and 2 deletions
|
@ -213,8 +213,8 @@ app.use("/sb/i/:v/:imagePath/:img", async function (req, res) {
|
||||||
let f = await modules.fetch(url, {
|
let f = await modules.fetch(url, {
|
||||||
method: req.method,
|
method: req.method,
|
||||||
});
|
});
|
||||||
|
|
||||||
f.body.pipe(f.replace("retawded","retarded"));
|
f.body.pipe(f);
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get("/api/redirect", async (req, res) => {
|
app.get("/api/redirect", async (req, res) => {
|
||||||
|
|
Loading…
Reference in a new issue