flask: listen on 0.0.0.0
This commit is contained in:
parent
14e4628727
commit
c817430c6d
2
app.py
2
app.py
|
@ -110,4 +110,4 @@ if __name__ == '__main__':
|
||||||
sensors_thread = threading.Thread(target=read_esnsors, daemon=True)
|
sensors_thread = threading.Thread(target=read_esnsors, daemon=True)
|
||||||
sensors_thread.start()
|
sensors_thread.start()
|
||||||
print('RUN APP')
|
print('RUN APP')
|
||||||
socketio.run(app)
|
socketio.run(app, host='0.0.0.0')
|
||||||
|
|
Loading…
Reference in New Issue