diff --git a/sd-card/html/ota_page.html b/sd-card/html/ota_page.html
index 3c69f680..ddee596d 100644
--- a/sd-card/html/ota_page.html
+++ b/sd-card/html/ota_page.html
@@ -39,10 +39,10 @@
Update
On the Release Page, pick the AI-on-the-edge-device__update__*.zip file!
- Alternatively the following file formats are supported (Make sure the file extention is lower case):
+ Alternatively the following file types are supported:
- *.zip → Gets unpacked on the SD-Card (most top folder)
- - *.bin → gets installed onto the ESP32
+ - *.bin → gets installed onto the ESP32s program flash
- *.tfl/tflite → Gets copied to your SD-Card/config
@@ -108,10 +108,10 @@
* - firmware__*.bin
* - *.ftl
* - *.tflite */
- if ( /(^AI-on-the-edge-device__update__)[a-z0-9()_\-.]*(\.zip$)/.test(filename) || // OK
- ( /(^AI-on-the-edge-device__firmware)[a-z0-9()_\-.]*(\.bin$)/.test(filename)) ||
- ( /[a-z0-9()_\-.]*(\.tfl$)/.test(filename)) ||
- ( /[a-z0-9()_\-.]*(\.tflite$)/.test(filename))) {
+ if ( /(^AI-on-the-edge-device__update__)[a-zRC0-9()_\-.]*(\.zip$)/i.test(filename) || // OK
+ ( /(^AI-on-the-edge-device__firmware)[a-zRC0-9()_\-.]*(\.bin$)/i.test(filename)) ||
+ ( /[a-zRC0-9()_\-.]*(\.tfl$)/i.test(filename)) ||
+ ( /[a-zRC0-9()_\-.]*(\.tflite$)/i.test(filename))) {
firework.launch('Great, the filename matches our expectations. You can now press "Upload and install".', 'success', 5000);
}
/* Following filenames are acceptiod but not prefered: