@@ -507,9 +507,9 @@
if ( b ) {
$("#ota-url").val(gravitymonUrl);
- $("#ota-url").prop("disabled", true);
+ $('#ota-hide').hide();
} else {
- $("#ota-url").prop("disabled", false);
+ $('#ota-hide').show();
}
});
@@ -966,7 +966,7 @@
if( cfg["ota-url"] == gravitymonUrl) {
$("#gravitymon-com").prop( "checked", true );
- $("#ota-url").prop("disabled", true);
+ $("#ota-hide").hide();
}
$("#token").val(cfg["token"]);
diff --git a/html/config.min.htm b/html/config.min.htm
index 671e73c..9818f21 100644
--- a/html/config.min.htm
+++ b/html/config.min.htm
@@ -1 +1 @@
-
Beer Gravity MonitorA sleep-interval of less than 300s will reduce battery life, consider using 900s
When using the gyro temperature use a sleep-interval that is greater than 300s for accurate readings
(C) Copyright 2021-22 Magnus Persson
\ No newline at end of file
+
Beer Gravity MonitorA sleep-interval of less than 300s will reduce battery life, consider using 900s
When using the gyro temperature use a sleep-interval that is greater than 300s for accurate readings
(C) Copyright 2021-22 Magnus Persson
\ No newline at end of file
diff --git a/test/config.json b/test/config.json
index af6a3e1..8df0a6b 100644
--- a/test/config.json
+++ b/test/config.json
@@ -3,7 +3,7 @@
"wifi-ssid2": "ssid 2",
"mdns": "gravmon3",
"id": "7376ef",
- "ota-url": "http://192.168.1.100:80/firmware/gravmon/",
+ "ota-url": "https://www.gravitymon.com/firmware/",
"temp-format": "C",
"http-push": "http://192.168.1.10:9090/api/v1/ZYfjlUNeiuyu9N/telemetry",
"http-push-h1": "Auth: Basic T7IF9DD9fF3RDddE=",