Changed image size limit
This commit is contained in:
parent
4d3e1655e0
commit
da8c676320
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue