Version 1.21

Changed config data storage location to EEPROM.
This commit is contained in:
2023-03-05 07:53:22 +03:00
parent ed9cba4bff
commit b500582cb8
2 changed files with 140 additions and 108 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);