increase max file size

100KiB => 1MiB
This commit is contained in:
Mystikfluu
2022-11-19 20:56:41 +01:00
parent 9b579a2361
commit 7369910f84
2 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -512,8 +512,8 @@ function switchChannel(channelname) {
var files = []
function addFile(file) {
if(file.size > 100000) {
alert("that file is too large, max size: 100KiB")
if(file.size > 1_000_000) {
alert("that file is too large, max size: 1MiB")
console.log("file is too big: ", file.name, file.type, file.size);
return;
}