rrevo commited on
Commit
f0af7d8
·
1 Parent(s): 3a9492e
Files changed (2) hide show
  1. client/src/main.py +1 -1
  2. display/index.html +1 -1
client/src/main.py CHANGED
@@ -126,7 +126,7 @@ app = Starlette(debug=True, routes=routes)
126
 
127
 
128
  def server():
129
- uvicorn.run(app, host="0.0.0.0", port=5555, log_level='info')
130
 
131
 
132
  if __name__ == '__main__':
 
126
 
127
 
128
  def server():
129
+ uvicorn.run(app, host="0.0.0.0", port=8343, log_level='info')
130
 
131
 
132
  if __name__ == '__main__':
display/index.html CHANGED
@@ -10,7 +10,7 @@
10
 
11
  <script>
12
  window.onload = () => {
13
- const eventSource = new EventSource('http://127.0.0.1:5555/test');
14
  evtSource.onmessage = (e) => {
15
  console.log(e.data);
16
  };
 
10
 
11
  <script>
12
  window.onload = () => {
13
+ const eventSource = new EventSource('http://localhost:8343/test');
14
  evtSource.onmessage = (e) => {
15
  console.log(e.data);
16
  };