api/routers: Use MAC address for link to router
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
72e60a9fd6
commit
452b0db35a
|
@ -296,7 +296,7 @@ def routers():
|
|||
'hardware': router['hardware'],
|
||||
'firmware': router['firmware'],
|
||||
'loadavg': router['sys_loadavg'],
|
||||
'href': 'https://monitoring.freifunk-franken.de/routers/' + str(router['id']),
|
||||
'href': 'https://monitoring.freifunk-franken.de/mac/' + router['mac'],
|
||||
'clients': router['clients'],
|
||||
'lastcontact': router['last_contact'].isoformat(),
|
||||
'uplink': {
|
||||
|
|
Loading…
Reference in New Issue