mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-25 23:58:59 +01:00
Update server.js
This commit is contained in:
parent
e47427607d
commit
9e69aff71e
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ app.get("/watch", async function (req, res) {
|
||||||
const engagement = fetching.engagement
|
const engagement = fetching.engagement
|
||||||
const lyrics = await lyricsFinder(json.Title);
|
const lyrics = await lyricsFinder(json.Title);
|
||||||
if (lyrics == undefined) lyrics = "Lyrics not found";
|
if (lyrics == undefined) lyrics = "Lyrics not found";
|
||||||
renderTemplate(res, req, "youtubenew.ejs", {
|
renderTemplate(res, req, "youtube.ejs", {
|
||||||
url: url,
|
url: url,
|
||||||
engagement:engagement,
|
engagement:engagement,
|
||||||
title: json,
|
title: json,
|
||||||
|
|
Loading…
Reference in a new issue