mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 17:58:17 +01:00
depracate old u,
This commit is contained in:
parent
7bb2539a36
commit
b66c8baa9e
1 changed files with 5 additions and 5 deletions
|
@ -365,8 +365,8 @@ app.get("/old/watch", async function (req, res) {
|
|||
if (j_.URL != undefined) url = j_.URL;
|
||||
const json = fetching.video.Player;
|
||||
const engagement = fetching.engagement;
|
||||
const lyrics = await lyricsFinder(json.Title);
|
||||
if (lyrics == undefined) lyrics = "Lyrics not found";
|
||||
const lyrics = ""
|
||||
|
||||
renderTemplate(res, req, "poketube-old.ejs", {
|
||||
url: url,
|
||||
color: await getColors(
|
||||
|
@ -374,9 +374,9 @@ app.get("/old/watch", async function (req, res) {
|
|||
).then((colors) => colors[0].hex()),
|
||||
engagement: engagement,
|
||||
video: json,
|
||||
date: "", //return ""
|
||||
date: "see the new ui", //return ""
|
||||
e: e,
|
||||
lyrics: lyrics.replace(/\n/g, " <br> "),
|
||||
lyrics: "none, see the new ui",
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue