mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 17:17:49 +01:00
Update server.js
This commit is contained in:
parent
72a1d84b0a
commit
238cd966fc
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,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