Fix: set max image size (100 MB)

This commit is contained in:
Pieter Vander Vennet 2024-10-10 23:09:00 +02:00
parent 66465fdc98
commit cc6ce3c271

View file

@ -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)