mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 15:56:16 -04:00
Increase file limit
This commit is contained in:
parent
6d98014ad2
commit
8cb86c364d
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ self.addEventListener("message", function(e) {
|
||||||
*/
|
*/
|
||||||
self.loadFile = function(file, inputNum) {
|
self.loadFile = function(file, inputNum) {
|
||||||
const reader = new FileReader();
|
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});
|
self.port.postMessage({"error": "File size too large.", "inputNum": inputNum, "id": self.id});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue