Update server.js

This commit is contained in:
Ashley 2022-03-09 22:10:01 +03:00 committed by GitHub
parent e47427607d
commit 9e69aff71e

View file

@ -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,