1
Fork 0

Update 'server.js'

This commit is contained in:
Ashley 2022-08-19 09:21:44 +02:00
parent c26902891a
commit 0d34533f23

View file

@ -233,6 +233,7 @@ app.get("/music", async function (req, res) {
// info // info
const info = await musicInfo.searchSong({ title: json.Title, artist:json.Channel.Name.replace("- Topic", "")}, 1000) const info = await musicInfo.searchSong({ title: json.Title, artist:json.Channel.Name.replace("- Topic", "")}, 1000)
renderTemplate(res, req, "poketube-music.ejs", { renderTemplate(res, req, "poketube-music.ejs", {
url: url_e, url: url_e,
info: info, info: info,