corrected max upload size

This commit is contained in:
CaCO3
2022-09-25 16:21:12 +02:00
parent 4e19066e26
commit efb35b1aa7
2 changed files with 3 additions and 3 deletions

View File

@@ -49,8 +49,8 @@ extern "C" {
/* Max size of an individual file. Make sure this /* Max size of an individual file. Make sure this
* value is same as that set in upload_script.html */ * value is same as that set in upload_script.html */
#define MAX_FILE_SIZE (2000*1024) // 200 KB #define MAX_FILE_SIZE (8000*1024) // 8 MB
#define MAX_FILE_SIZE_STR "2000KB" #define MAX_FILE_SIZE_STR "8MB"
/* Scratch buffer size */ /* Scratch buffer size */

View File

@@ -160,7 +160,7 @@ function upload() {
/* Max size of an individual file. Make sure this /* Max size of an individual file. Make sure this
* value is same as that set in file_server.c */ * value is same as that set in server_file.c */
var MAX_FILE_SIZE = 8000*1024; var MAX_FILE_SIZE = 8000*1024;
var MAX_FILE_SIZE_STR = "8MB"; var MAX_FILE_SIZE_STR = "8MB";