From da8c676320db93a676bbd6e884795739a36c6844 Mon Sep 17 00:00:00 2001 From: TheEssem Date: Sat, 19 Jun 2021 15:11:34 -0500 Subject: [PATCH] Changed image size limit --- utils/image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/image.js b/utils/image.js index dea8a10..63d71d9 100644 --- a/utils/image.js +++ b/utils/image.js @@ -211,7 +211,7 @@ exports.getType = async (image) => { }); clearTimeout(timeout); const size = imageRequest.headers.has("Content-Range") ? imageRequest.headers.get("Content-Range").split("/")[1] : imageRequest.headers.get("Content-Length"); - if (parseInt(size) > 20971520) { + if (parseInt(size) > 26214400) { // 25 MB type = "large"; return type; }