added host declaration

This commit is contained in:
Sakimori 2021-01-01 14:58:55 -05:00
parent 0b7224995c
commit 2b350e9acd

View File

@ -4,6 +4,7 @@ from flask_socketio import SocketIO, emit
app = Flask("the-prestige") app = Flask("the-prestige")
app.config['SECRET KEY'] = 'dev' app.config['SECRET KEY'] = 'dev'
app.config['host'] = '0.0.0.0'
socketio = SocketIO(app) socketio = SocketIO(app)
@app.route('/') @app.route('/')