Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit a277e52

Browse files
feat: limit images size to 10mb (otherwise I can't even upload a picture from my phone)
1 parent 8f34d00 commit a277e52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

studio/src/app/services/storage/storage.service.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export class StorageService {
4747
return;
4848
}
4949

50-
if (image.size > 2097152) {
51-
this.errorService.error('Image is too big (max. 2 Mb)');
50+
if (image.size > 10485760) {
51+
this.errorService.error('Image is too big (max. 10 Mb)');
5252
resolve();
5353
return;
5454
}

0 commit comments

Comments
 (0)