From d33363f4a1778da7a5751fb917cd91a6cd8a0ad7 Mon Sep 17 00:00:00 2001 From: Ruwan Pradeep Geeganage Date: Mon, 6 Mar 2023 22:32:21 +0100 Subject: [PATCH] increased the max file size to 10MB (#12) Co-authored-by: Ruwan Geeganage --- packages/ui/app/src/lib/utils/file.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/app/src/lib/utils/file.ts b/packages/ui/app/src/lib/utils/file.ts index af89933..68eabb3 100644 --- a/packages/ui/app/src/lib/utils/file.ts +++ b/packages/ui/app/src/lib/utils/file.ts @@ -1,7 +1,7 @@ import prettyBytes from 'pretty-bytes'; export const MIN_FILE_SIZE = 1; -export const MAX_FILE_SIZE = 1024; +export const MAX_FILE_SIZE = 1024 * 10; const FILE_NOT_SELECTEED_ERROR = 'No file has selected to upload'; const FILE_IS_TOO_SMALL = 'File size is less than minimum limit';