Update server.js

This commit is contained in:
Ashley 2022-07-16 13:03:46 +03:00 committed by GitHub
parent 1db878c746
commit 89275b666c

View file

@ -123,7 +123,7 @@ app.get("/download", async function (req, res) {
engagement: engagement,
k: k,
video: json,
date: moment(k.Video.uploadDate).format("LL"),
date: k.Video.uploadDate,
color: await getColors(
`https://i.ytimg.com/vi/${v}/maxresdefault.jpg`
).then((colors) => colors[0].hex()),