mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 07:38:24 +01:00
o7
This commit is contained in:
parent
bd6337cc5c
commit
b7e6d55fcc
1 changed files with 0 additions and 11 deletions
|
@ -181,17 +181,6 @@ app.use("/sb/i/:v/:imagePath/:img", async function (req, res) {
|
||||||
} catch {}
|
} catch {}
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get("/feeds/videos.xml", async (req, res) => {
|
|
||||||
const id = req.query.channel_id;
|
|
||||||
|
|
||||||
let url = `https://youtube.com/feeds/videos.xml?channel_id=${id}`;
|
|
||||||
|
|
||||||
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