Changed image size limit

This commit is contained in:
TheEssem 2021-06-19 15:11:34 -05:00
parent 4d3e1655e0
commit da8c676320
No known key found for this signature in database
GPG Key ID: A3F9F02129092FCA
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}