do not include servername in ajax call
This commit is contained in:
parent
5f2795d911
commit
33a8d57057
|
|
@ -51,7 +51,7 @@ function drawGraph(deveui, alias, property, start, stop, create_graph) {
|
|||
mysubtitle = 'Unknown';
|
||||
}
|
||||
|
||||
$.getJSON('https://mini-beieli.ch/metrics?deveui=' + deveui + '&alias=' + alias + '&property=' + property + range, function(mydata) {
|
||||
$.getJSON('/metrics?deveui=' + deveui + '&alias=' + alias + '&property=' + property + range, function(mydata) {
|
||||
if ("msg" in mydata) {
|
||||
if (mydata.msg.includes("expired")) {
|
||||
$('#chart').html(`<article class="message is-danger">
|
||||
|
|
|
|||
Loading…
Reference in New Issue