From 039db1fe75b1e2088f7a1997a935f66e7c928e51 Mon Sep 17 00:00:00 2001 From: Sibtain Ali Date: Fri, 17 Mar 2023 18:46:58 +0500 Subject: [PATCH] feat: allow webp file --- src/CONST.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CONST.js b/src/CONST.js index 418d5bc1ad6b..fda62a4f45e8 100755 --- a/src/CONST.js +++ b/src/CONST.js @@ -17,7 +17,7 @@ const CONST = { API_ATTACHMENT_VALIDATIONS: { // Same as the PHP layer allows - ALLOWED_EXTENSIONS: ['jpg', 'jpeg', 'png', 'gif', 'pdf', 'html', 'txt', 'rtf', 'doc', 'docx', 'htm', 'tiff', 'tif', 'xml', 'mp3', 'mp4', 'mov'], + ALLOWED_EXTENSIONS: ['webp', 'jpg', 'jpeg', 'png', 'gif', 'pdf', 'html', 'txt', 'rtf', 'doc', 'docx', 'htm', 'tiff', 'tif', 'xml', 'mp3', 'mp4', 'mov'], // 24 megabytes in bytes, this is limit set on servers, do not update without wider internal discussion MAX_SIZE: 25165824,