Fixed hardcoded reference to play.jarno.ca
This commit is contained in:
parent
8b4c6a68fd
commit
0b88b85244
|
@ -35,7 +35,7 @@ function updateGraph(data, svgid, property_class, property) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function update() {
|
function update() {
|
||||||
d3.json('https://play.jarno.ca/monitoring/all').then(function(data){
|
d3.json('https://DOMAINNAME/monitoring/all').then(function(data){
|
||||||
updateGraph(data, '#memgraph', 'mem', 'm');
|
updateGraph(data, '#memgraph', 'mem', 'm');
|
||||||
updateGraph(data, '#cpugraph', 'cpu', 'c');
|
updateGraph(data, '#cpugraph', 'cpu', 'c');
|
||||||
});
|
});
|
||||||
|
|
Reference in New Issue