mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-23 06:37:49 +01:00
Update server.js
This commit is contained in:
parent
1db878c746
commit
89275b666c
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ app.get("/download", async function (req, res) {
|
||||||
engagement: engagement,
|
engagement: engagement,
|
||||||
k: k,
|
k: k,
|
||||||
video: json,
|
video: json,
|
||||||
date: moment(k.Video.uploadDate).format("LL"),
|
date: k.Video.uploadDate,
|
||||||
color: await getColors(
|
color: await getColors(
|
||||||
`https://i.ytimg.com/vi/${v}/maxresdefault.jpg`
|
`https://i.ytimg.com/vi/${v}/maxresdefault.jpg`
|
||||||
).then((colors) => colors[0].hex()),
|
).then((colors) => colors[0].hex()),
|
||||||
|
|
Loading…
Reference in a new issue