From cc6ce3c271475759a7a2062b1ca7e4668ca4a230 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 10 Oct 2024 23:09:00 +0200 Subject: [PATCH] Fix: set max image size (100 MB) --- src/Logic/ImageProviders/Panoramax.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Logic/ImageProviders/Panoramax.ts b/src/Logic/ImageProviders/Panoramax.ts index 60d558a26..a24883be0 100644 --- a/src/Logic/ImageProviders/Panoramax.ts +++ b/src/Logic/ImageProviders/Panoramax.ts @@ -165,6 +165,7 @@ export default class PanoramaxImageProvider extends ImageProvider { export class PanoramaxUploader implements ImageUploader { private readonly _panoramax: AuthorizedPanoramax + maxFileSizeInMegabytes = 100 * 1000 * 1000 // 100MB constructor(url: string, token: string) { this._panoramax = new AuthorizedPanoramax(url, token)