feat: fix upload size

This commit is contained in:
Nevo David 2025-06-23 12:26:26 +07:00
parent 9a74d756b4
commit cde4e25c9d
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ export function useUppyUploader(props: {
const isVideo = file.type?.startsWith('video/');
const maxImageSize = 30 * 1024 * 1024; // 30MB
const maxVideoSize = 30 * 1024 * 1024; // 1000 * 1024 * 1024; // 1GB
const maxVideoSize = 1000 * 1024 * 1024; // 1GB
if (isImage && file.size > maxImageSize) {
const error = new Error(