From 8cb86c364d4c1ee70aa4536696acd838d32e894c Mon Sep 17 00:00:00 2001 From: j433866 Date: Fri, 26 Apr 2019 15:19:17 +0100 Subject: [PATCH] Increase file limit --- src/web/LoaderWorker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/LoaderWorker.js b/src/web/LoaderWorker.js index 7df3cf05..2e19e1f1 100755 --- a/src/web/LoaderWorker.js +++ b/src/web/LoaderWorker.js @@ -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; }