mirror of https://github.com/aredn/aredn.git
api: show version in info table (#135)
Include the api_version in the info table so it can be displayed in System card on newui.
This commit is contained in:
parent
db61c1181d
commit
a3e33a2f9b
|
@ -52,6 +52,7 @@ os.capture = capture
|
||||||
|
|
||||||
function getSysinfo()
|
function getSysinfo()
|
||||||
local info={}
|
local info={}
|
||||||
|
info['api_version']=API_VERSION
|
||||||
info['node']=aredn_info.getNodeName()
|
info['node']=aredn_info.getNodeName()
|
||||||
info['description']=aredn_info.getNodeDescription()
|
info['description']=aredn_info.getNodeDescription()
|
||||||
info['firmware_version']=aredn_info.getFirmwareVersion()
|
info['firmware_version']=aredn_info.getFirmwareVersion()
|
||||||
|
|
Loading…
Reference in New Issue