temp. hardcode for ws host

remotes/upstream/doubtfire
Kieran Prasch 2019-10-02 22:49:45 -07:00 committed by Kieran R. Prasch
parent 3208e52630
commit a0a113a9a4
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class MoeStatusApp(NetworkStatusPage):
template_path = os.path.join(self.TEMPLATE_DIR, 'moe.html')
with open(template_path, 'r') as file:
moe_template = file.read()
self.dash_app.index_string = Template(moe_template).substitute(ws_port=ws_port)
self.dash_app.index_string = Template(moe_template).substitute(ws_port=ws_port, ws_host='0.0.0.0') # TODO
self.dash_app.layout = html.Div([
dcc.Location(id='url', refresh=False),