diff --git a/html/upgrade.html b/html/upgrade.html index 0405f3d..9525807 100644 --- a/html/upgrade.html +++ b/html/upgrade.html @@ -167,12 +167,12 @@ } // Validate file name pattern - if (updateType === 'firmware' && !file.name.startsWith('filaman_')) { - alert('Please select a valid firmware file (filaman_*.bin)'); + if (updateType === 'firmware' && !file.name.startsWith('upgrade_filaman_firmware_')) { + alert('Please select a valid firmware file (upgrade_filaman_firmware_*.bin)'); return; } - if (updateType === 'webpage' && !file.name.startsWith('webpage_')) { - alert('Please select a valid webpage file (webpage_*.bin)'); + if (updateType === 'webpage' && !file.name.startsWith('upgrade_filaman_website_')) { + alert('Please select a valid webpage file (upgrade_filaman_website_*.bin)'); return; } diff --git a/platformio.ini b/platformio.ini index 43375f2..6da4275 100644 --- a/platformio.ini +++ b/platformio.ini @@ -9,7 +9,7 @@ ; https://docs.platformio.org/page/projectconf.html [common] -version = "1.3.29" +version = "1.3.30" #test