Fix: set max image size (100 MB)
This commit is contained in:
parent
66465fdc98
commit
cc6ce3c271
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue