Version 1.41

Changed config data storage location to EEPROM.
This commit is contained in:
Alexey Zholtikov
2023-03-04 11:16:55 +03:00
parent 651ade7334
commit c248a08efe
2 changed files with 152 additions and 128 deletions

View File

@ -10,7 +10,7 @@ function createXmlHttpObject() {
function load() {
if (xmlHttp.readyState == 0 || xmlHttp.readyState == 4) {
xmlHttp.open('PUT', '/config.json', true);
xmlHttp.open('GET', '/config', true);
xmlHttp.send(null);
xmlHttp.onload = function () {
jsonResponse = JSON.parse(xmlHttp.responseText);