no fixed URL at getJSON
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ function refreshDatapoints(deveui, start, stop) {
|
||||
range = range + "&start=" + start;
|
||||
range = range + "&stop=" + stop;
|
||||
|
||||
$.getJSON('https://wo-bisch.ch/metrics?deveui=' + deveui + range, function (mydata) {
|
||||
$.getJSON('metrics?deveui=' + deveui + range, function (mydata) {
|
||||
if ("msg" in mydata) {
|
||||
$('#map').hide();
|
||||
$('#datetimeslider').hide();
|
||||
|
||||
Reference in New Issue
Block a user