mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Add banners support
This commit is contained in:
parent
f479685678
commit
2cb03dc1f4
33 changed files with 392 additions and 240 deletions
|
@ -64,7 +64,7 @@ async function getActorImage (req: express.Request, res: express.Response) {
|
|||
logger.info('Lazy serve remote actor image %s.', image.fileUrl)
|
||||
|
||||
try {
|
||||
await pushActorImageProcessInQueue({ filename: image.filename, fileUrl: image.fileUrl })
|
||||
await pushActorImageProcessInQueue({ filename: image.filename, fileUrl: image.fileUrl, type: image.type })
|
||||
} catch (err) {
|
||||
logger.warn('Cannot process remote actor image %s.', image.fileUrl, { err })
|
||||
return res.sendStatus(HttpStatusCode.NOT_FOUND_404)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue