Use integer rev in UiWebSocket for dashboard compatibility
This commit is contained in:
parent
15dddc27c6
commit
25bfc0341c
1 changed files with 2 additions and 2 deletions
|
@ -328,8 +328,8 @@ class UiWebsocket(object):
|
|||
'ui_ip' : config.ui_ip,
|
||||
'ui_port' : config.ui_port,
|
||||
'version' : config.version,
|
||||
# The only place this is used is in dashboard so we shorten it for now
|
||||
'rev' : config.commit[:8],
|
||||
# Some legacy code relies on this being an integer, so lets return dummy one
|
||||
'rev' : config.user_agent_rev,
|
||||
'timecorrection' : file_server.timecorrection,
|
||||
'language' : config.language,
|
||||
'debug' : config.debug,
|
||||
|
|
Loading…
Reference in a new issue