Skip to content

Commit 13bcaac

Browse files
committed
fix(limit): set upload limit to 11MB
At 10 osme files around 9.7 failed. This is the ducttape solution until we've resolved the issues
1 parent 59dc9f2 commit 13bcaac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/middleware/upload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const validateFile = async (
2626
file: Express.Multer.File,
2727
): Promise<void> => {
2828
// 1. Check file size
29-
if (file.size > 10 * 1024 * 1024) {
29+
if (file.size > 11 * 1024 * 1024) {
3030
throw new Error(FileValidationError.SIZE_EXCEEDED);
3131
}
3232

0 commit comments

Comments
 (0)