mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 13:18:23 +01:00
Update server.js
This commit is contained in:
parent
3f1bdf5ee2
commit
759c361c02
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