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:
parent
baefe61cff
commit
565a11d8d3
5 changed files with 22 additions and 16 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue