|
GPIO 12 use interrupt
diff --git a/sd-card/html/gethost.js b/sd-card/html/gethost.js
index e9f056e8..b7cbc078 100644
--- a/sd-card/html/gethost.js
+++ b/sd-card/html/gethost.js
@@ -3,9 +3,12 @@ function gethost_Version(){
return "1.0.0 - 20200910";
}
+
function getbasepath(){
var host = window.location.hostname;
- if ((host == "127.0.0.1") || (host == "localhost") || (host == ""))
+ if (((host == "127.0.0.1") || (host == "localhost") || (host == ""))
+ && ((window.location.port == "80") || (window.location.port == "")))
+
{
// host = "http://192.168.2.219"; // jomjol interner test
// host = "http://192.168.178.46"; // jomjol interner test
@@ -18,6 +21,10 @@ function getbasepath(){
{
host = "http://" + host;
}
+
+ if (window.location.port != "") {
+ host = host + ":" + window.location.port;
+ }
return host;
}
diff --git a/sd-card/html/readconfigparam.js b/sd-card/html/readconfigparam.js
index 68f7c5c2..1c2f5c63 100644
--- a/sd-card/html/readconfigparam.js
+++ b/sd-card/html/readconfigparam.js
@@ -2,9 +2,9 @@ function readconfig_Version(){
return "1.0.0 - 20200910";
}
-var config_gesamt;
-var config_split;
-var param;
+var config_gesamt = "";
+var config_split = [];
+var param = [];
var category;
var ref = new Array(2);
var NUMBERS = new Array(0);
diff --git a/sd-card/html/version.txt b/sd-card/html/version.txt
index 4a68b557..d8ffaa07 100644
--- a/sd-card/html/version.txt
+++ b/sd-card/html/version.txt
@@ -1 +1 @@
-11.0.0
\ No newline at end of file
+11.1.0
\ No newline at end of file
|