mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 12:58:20 +01:00
add universe param :3
This commit is contained in:
parent
8588b774ee
commit
aee34728fe
1 changed files with 2 additions and 1 deletions
|
@ -174,7 +174,7 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get("/watch", async (req, res) => {
|
app.get("/watch", async (req, res) => {
|
||||||
const { v, e, r, f, t, quality: q, a } = req.query;
|
const { v, e, r, f, t, quality: q, a, universe } = req.query;
|
||||||
|
|
||||||
if (!v) {
|
if (!v) {
|
||||||
return res.redirect("/");
|
return res.redirect("/");
|
||||||
|
@ -271,6 +271,7 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
inv: inv_comments,
|
inv: inv_comments,
|
||||||
ip,
|
ip,
|
||||||
convert,
|
convert,
|
||||||
|
universe,
|
||||||
wiki: data.wiki,
|
wiki: data.wiki,
|
||||||
f,
|
f,
|
||||||
t: config.t_url,
|
t: config.t_url,
|
||||||
|
|
Loading…
Reference in a new issue