mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 03:56:57 +03:00
@@ -95,8 +95,11 @@ function compareVersions() {
|
||||
|
||||
arr = fwVersion.split(" ");
|
||||
fWGitHash = arr[arr.length - 1].substring(0, 7);
|
||||
arr = webUiVersion.split(" ");
|
||||
webUiHash = arr[arr.length - 1].substring(0, 7);
|
||||
console.log("FW Hash: " + fWGitHash + ", Web UI Hash: " + webUiHash);
|
||||
|
||||
if (fWGitHash != webUiVersion) {
|
||||
alert("The Version of the Web Interface does not match the Firmware Version!");
|
||||
if (fWGitHash != webUiHash) {
|
||||
alert("The Version of the Web Interface does not match the Firmware Version! It is suggested to keep them on the same version!");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user