changed host to SERVER_NAME

This commit is contained in:
Sakimori 2021-01-01 15:16:26 -05:00
parent 2b350e9acd
commit b8f6e3b352

View File

@ -4,7 +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' app.config['SERVER_NAME'] = '0.0.0.0:5000'
socketio = SocketIO(app) socketio = SocketIO(app)
@app.route('/') @app.route('/')