1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Don't resize remote actor images

Use their own size. In the future we may imagine resizing remote images
on demand like classic CDNs
This commit is contained in:
Chocobozzz 2024-09-12 08:46:08 +02:00
parent baefe61cff
commit 565a11d8d3
No known key found for this signature in database
GPG key ID: 583A612D890159BE
5 changed files with 22 additions and 16 deletions

View file

@ -118,7 +118,7 @@ export abstract class AbstractPermanentFileCache <M extends ImageModel> {
private downloadImage (options: {
fileUrl: string
filename: string
size: { width: number, height: number }
size?: { width: number, height: number }
}) {
const downloaderOptions = {
url: options.fileUrl,