Skip to content

Commit cde4e25

Browse files
committed
feat: fix upload size
1 parent 9a74d75 commit cde4e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/frontend/src/components/media/new.uploader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export function useUppyUploader(props: {
8585
const isVideo = file.type?.startsWith('video/');
8686

8787
const maxImageSize = 30 * 1024 * 1024; // 30MB
88-
const maxVideoSize = 30 * 1024 * 1024; // 1000 * 1024 * 1024; // 1GB
88+
const maxVideoSize = 1000 * 1024 * 1024; // 1GB
8989

9090
if (isImage && file.size > maxImageSize) {
9191
const error = new Error(

0 commit comments

Comments
 (0)