luci-app-bmx6: Fix URL of network topology JSON file
The JavaScript code of the network graph tried to fetch the topology from %HOST/cgi-bin/luci/status/bmx6/topology, but the topology entry is now located at admin->network->BMX6 (i.e., %HOST/cgi-bin/luci/admin/network/BMX6/topology). Fixes #432 Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
This commit is contained in:
parent
940d621757
commit
b6815d5942
|
@ -48,7 +48,7 @@ function init() {
|
|||
|
||||
divwait = document.getElementById("wait");
|
||||
|
||||
XHR.get('/cgi-bin/luci/status/bmx6/topology', null, function(nodesRequest, nodesData) {
|
||||
XHR.get('/cgi-bin/luci/admin/network/BMX6/topology', null, function(nodesRequest, nodesData) {
|
||||
nodes = nodesData;
|
||||
|
||||
XHR.get('/cgi-bin/bmx6-info?$myself&', null, function(myselfRequest, myselfData) {
|
||||
|
|
Loading…
Reference in New Issue