mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 22:38:14 +01:00
add /old :3
This commit is contained in:
parent
c7cda4f0b4
commit
11f861ffbe
1 changed files with 8 additions and 0 deletions
|
@ -127,6 +127,14 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
app.get("/old", function (req, res) {
|
||||||
|
const v = req.query.v;
|
||||||
|
|
||||||
|
renderTemplate(res, req, "poketube-old.ejs", {
|
||||||
|
v,
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
app.get("/watch", async (req, res) => {
|
app.get("/watch", async (req, res) => {
|
||||||
const { dm, v, e, r, f, m, quality: q, a, universe } = req.query;
|
const { dm, v, e, r, f, m, quality: q, a, universe } = req.query;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue