Skip to content
This repository was archived by the owner on Aug 4, 2025. It is now read-only.

Commit 83f0b39

Browse files
authored
1 GiB limit -> 512 MiB just to be extra safe
1 parent 2f54393 commit 83f0b39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@
120120
};
121121
document.getElementById("fin").onchange = function(){
122122
if(this.files.length>0){
123-
if (this.files[0].size > 1073741824) { // 1 GiB
124-
document.getElementById("status").innerHTML = "File must be less than 1 GiB!";
123+
if (this.files[0].size > (1073741824 / 2)) { // 512 MiB
124+
document.getElementById("status").innerHTML = "File must be less than 512 MiB!";
125125
document.getElementById("status").style.color = "#db2828";
126126
setTimeout(() => {
127127
window.location.reload();

0 commit comments

Comments
 (0)