We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 139b228 commit befb360Copy full SHA for befb360
src/files-and-videos/files-page/FilesPage.jsx
@@ -91,13 +91,8 @@ const FilesPage = ({
91
usageErrorMessages: errorMessages.usageMetrics,
92
fileType: 'file',
93
};
94
-
95
- // MaxFileSize used in Files upload page
96
- // checks if OVERRIDE_UPLOAD_FILE_MAX_SIZE_IN_MB env variable exists and is a valid number, else uses default from constants
97
- const overrideMaxFileSize = parseInt(process.env.OVERRIDE_UPLOAD_FILE_MAX_SIZE_IN_MB, 10);
98
- const maxFileSize = !isNaN(overrideMaxFileSize) && overrideMaxFileSize > 0
99
- ? overrideMaxFileSize * 1024 * 1024
100
- : UPLOAD_FILE_MAX_SIZE;
+
+ const maxFileSize = UPLOAD_FILE_MAX_SIZE;
101
102
const activeColumn = {
103
id: 'activeStatus',
0 commit comments