Skip to content

Commit

Permalink
Increase file upload size to 30mb
Browse files Browse the repository at this point in the history
  • Loading branch information
farhatahmad committed Oct 12, 2023
1 parent d43119c commit 5a5ad0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/helpers/FileValidationHelper.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const PRESENTATION_SUPPORTED_EXTENSIONS = Object.keys(PRESENTATION_SUPPOR
export const PRESENTATION_SUPPORTED_MIMES = Object.values(PRESENTATION_SUPPORTED_FORMATS);

export const IMAGE_MAX_FILE_COEFF = 3;
export const PRESENTATION_MAX_FILE_COEFF = 10;
export const PRESENTATION_MAX_FILE_COEFF = 30;

export const fileValidation = (file, type) => {
const MEBIBYTE = 1024 * 1024;
Expand Down

0 comments on commit 5a5ad0d

Please sign in to comment.