mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-30 19:38:17 +03:00
change max file characters to 100
This commit is contained in:
@@ -168,8 +168,8 @@ function upload() {
|
||||
alert("No file selected!");
|
||||
} else if (filePath.length == 0) {
|
||||
alert("File path on server is not set!");
|
||||
} else if (filePath.length > 30) {
|
||||
alert("Filename is to long! Max 30 characters.");
|
||||
} else if (filePath.length > 100) {
|
||||
alert("Filename is to long! Max 100 characters.");
|
||||
} else if (filePath.indexOf(' ') >= 0) {
|
||||
alert("File path on server cannot have spaces!");
|
||||
} else if (filePath[filePath.length-1] == '/') {
|
||||
|
||||
Reference in New Issue
Block a user