Bläddra i källkod

change max file characters to 100

Frank Haverland 3 år sedan
förälder
incheckning
356b208f33
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      sd-card/html/ota_page.html

+ 2 - 2
sd-card/html/ota_page.html

@@ -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] == '/') {