apirrone commited on
Commit
f847cef
·
1 Parent(s): b6211ad
Files changed (1) hide show
  1. reachy_mini_clock/main.py +1 -1
reachy_mini_clock/main.py CHANGED
@@ -70,7 +70,7 @@ class Handler(http.server.SimpleHTTPRequestHandler):
70
  self._send_json({"ok": True})
71
 
72
 
73
- def start_server(stop_event: threading.Event, host="localhost", port=8080):
74
  httpd = http.server.HTTPServer((host, port), Handler)
75
  httpd.timeout = 0.5 # so we can check stop_event regularly
76
  print(f"Serving on http://{host}:{port}")
 
70
  self._send_json({"ok": True})
71
 
72
 
73
+ def start_server(stop_event: threading.Event, host="0.0.0.0", port=8080):
74
  httpd = http.server.HTTPServer((host, port), Handler)
75
  httpd.timeout = 0.5 # so we can check stop_event regularly
76
  print(f"Serving on http://{host}:{port}")