Skip to content

Commit

Permalink
increased the max file size to 10MB (#12)
Browse files Browse the repository at this point in the history
Co-authored-by: Ruwan Geeganage <[email protected]>
  • Loading branch information
rpgeeganage and Ruwan Geeganage authored Mar 6, 2023
1 parent b98b403 commit d33363f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/app/src/lib/utils/file.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit d33363f

Please sign in to comment.