changed host to SERVER_NAME
This commit is contained in:
parent
2b350e9acd
commit
b8f6e3b352
|
@ -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('/')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user