From a4e75cff5510abac159e65e66abfd205b6fb6e14 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Tue, 6 Jul 2021 11:40:09 +0200 Subject: [PATCH] lift 1gb upload limit from frontend code --- packages/website/src/components/Uploader/Uploader.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/website/src/components/Uploader/Uploader.js b/packages/website/src/components/Uploader/Uploader.js index 43e15b01..3f637aa6 100644 --- a/packages/website/src/components/Uploader/Uploader.js +++ b/packages/website/src/components/Uploader/Uploader.js @@ -182,13 +182,6 @@ const Uploader = () => { onFileStateChange(file, { status, progress }); }; - // Reject files larger than our hard limit of 1 GB with proper message - if (file.size > bytes("1 GB")) { - onFileStateChange(file, { status: "error", error: "This file size exceeds the maximum allowed size of 1 GB." }); - - return; - } - const upload = async () => { try { let response;