flask: listen on 0.0.0.0

master
Nicolò Balzarotti 2022-11-19 19:19:54 +01:00
parent 14e4628727
commit c817430c6d
1 changed files with 1 additions and 1 deletions

2
app.py
View File

@ -110,4 +110,4 @@ if __name__ == '__main__':
sensors_thread = threading.Thread(target=read_esnsors, daemon=True)
sensors_thread.start()
print('RUN APP')
socketio.run(app)
socketio.run(app, host='0.0.0.0')