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_ip' : config.ui_ip,
|
||||||
'ui_port' : config.ui_port,
|
'ui_port' : config.ui_port,
|
||||||
'version' : config.version,
|
'version' : config.version,
|
||||||
# The only place this is used is in dashboard so we shorten it for now
|
# Some legacy code relies on this being an integer, so lets return dummy one
|
||||||
'rev' : config.commit[:8],
|
'rev' : config.user_agent_rev,
|
||||||
'timecorrection' : file_server.timecorrection,
|
'timecorrection' : file_server.timecorrection,
|
||||||
'language' : config.language,
|
'language' : config.language,
|
||||||
'debug' : config.debug,
|
'debug' : config.debug,
|
||||||
|
|
Loading…
Reference in a new issue