Increase file limit
This commit is contained in:
parent
6d98014ad2
commit
8cb86c364d
@ -49,7 +49,7 @@ self.addEventListener("message", function(e) {
|
||||
*/
|
||||
self.loadFile = function(file, inputNum) {
|
||||
const reader = new FileReader();
|
||||
if (file.size >= 256*256*256*127) {
|
||||
if (file.size >= 256*256*256*128) {
|
||||
self.port.postMessage({"error": "File size too large.", "inputNum": inputNum, "id": self.id});
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user