mirror of
https://github.com/karma-riuk/crab-webapp.git
synced 2025-07-05 14:18:12 +02:00
added host=0.0.0.0 to make it work on gym
This commit is contained in:
@ -47,5 +47,5 @@ def init_socketio(app):
|
|||||||
socketio = init_socketio(app)
|
socketio = init_socketio(app)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
port = int(os.getenv('PORT', 3000))
|
port = int(os.getenv('PORT', 45003))
|
||||||
socketio.run(app, port=port)
|
socketio.run(app, host="0.0.0.0", port=port)
|
||||||
|
Reference in New Issue
Block a user