Fix port: use 5000 instead of 5002 in app.py and values
This commit is contained in:
@@ -73,4 +73,5 @@ def edit_question(cat, q):
|
||||
return render_template('edit.html', question=question, cat=cat, q=q)
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True, port=5002)
|
||||
port = int(os.environ.get('FLASK_RUN_PORT', 5000))
|
||||
app.run(debug=True, host='0.0.0.0', port=port)
|
||||
|
||||
Reference in New Issue
Block a user